[FL-1549] Gui Widget module (#598)
* gui_widget: rework with mlib container * widget: rename gui_widget-> widget; gui_element->widget_element * gui: move widget from nfc to gui/modules * nfc: rework widget usage * nfc: return to ReadEmvAppSuccess scene after ReadEmvDataSuccess exit Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -20,13 +20,10 @@
|
||||
#include <gui/modules/text_input.h>
|
||||
#include <gui/modules/byte_input.h>
|
||||
#include <gui/modules/text_box.h>
|
||||
#include <gui/modules/widget.h>
|
||||
|
||||
#include "views/bank_card.h"
|
||||
|
||||
#include "gui_widget/gui_widget.h"
|
||||
#include "gui_widget/gui_element_string.h"
|
||||
#include "gui_widget/gui_element_button.h"
|
||||
|
||||
#include <nfc/scenes/nfc_scene.h>
|
||||
|
||||
#define NFC_TEXT_STORE_SIZE 128
|
||||
@@ -49,7 +46,7 @@ struct Nfc {
|
||||
TextInput* text_input;
|
||||
ByteInput* byte_input;
|
||||
TextBox* text_box;
|
||||
GuiWidget* widget;
|
||||
Widget* widget;
|
||||
BankCard* bank_card;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user