[FL-1849] NFC and iButton gui fixes (#943)
* nfc: fix spaces between lines in delete and info scenes * gui widget: add extern c * ibutton: rework gui in info and delete scenes * Loader, Desktop: fix debug apps and plugins start from cli, fix deadlock in archive Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
#include <stdint.h>
|
||||
#include <gui/modules/dialog_ex.h>
|
||||
#include <gui/modules/widget.h>
|
||||
|
||||
class iButtonApp;
|
||||
|
||||
@@ -14,12 +15,14 @@ public:
|
||||
EventTypeDialogResult,
|
||||
EventTypeTextEditResult,
|
||||
EventTypeByteEditResult,
|
||||
EventTypeWidgetButtonResult,
|
||||
};
|
||||
|
||||
// payload
|
||||
union {
|
||||
uint32_t menu_index;
|
||||
DialogExResult dialog_result;
|
||||
GuiButtonType widget_button_result;
|
||||
} payload;
|
||||
|
||||
// event type
|
||||
|
||||
Reference in New Issue
Block a user