[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:
Skorpionm
2024-01-14 08:58:29 +04:00
committed by GitHub
parent 0789cbdefa
commit 48e4de1213
28 changed files with 180 additions and 137 deletions

View File

@@ -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);