mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-20 04:54:45 -07:00
[FL-3743] SubGhz: UI update (#3352)
* [FL-3743]SubGhz: screen refactoring * SubGhz: fix syntax * SubGhz: gui * SubGhz: add animation icon ant in read_info scene * SubGhz: up speed animation icon Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -15,16 +15,16 @@ void subghz_scene_need_saving_callback(GuiButtonType result, InputType type, voi
|
||||
void subghz_scene_need_saving_on_enter(void* context) {
|
||||
SubGhz* subghz = context;
|
||||
|
||||
widget_add_string_multiline_element(
|
||||
subghz->widget, 64, 13, AlignCenter, AlignCenter, FontPrimary, "Exit to Sub-GHz Menu?");
|
||||
widget_add_string_multiline_element(
|
||||
widget_add_text_box_element(
|
||||
subghz->widget,
|
||||
64,
|
||||
32,
|
||||
0,
|
||||
0,
|
||||
128,
|
||||
54,
|
||||
AlignCenter,
|
||||
AlignCenter,
|
||||
FontSecondary,
|
||||
"All unsaved data\nwill be lost!");
|
||||
AlignTop,
|
||||
"\e#Exit to Sub-GHz Menu?\e#\nAll unsaved data will be lost",
|
||||
false);
|
||||
|
||||
widget_add_button_element(
|
||||
subghz->widget, GuiButtonTypeRight, "Stay", subghz_scene_need_saving_callback, subghz);
|
||||
|
||||
Reference in New Issue
Block a user