Subghz app example (#365)

* Gui: ported submenu and view_dispatcher_remove_view from iButton branch

* App gui-test: use backported submenu api

* App subghz: initial commit

* App subghz: syntax fix

* App gui-test: fix submenu callback

* App subghz: add subfolders to build

* Gui view: c++ verison of with_view_model

* Subghz app: simple spectrum settings view

* Subghz app: add spectrum settings view to view manager

* Subghz app: spectrum settings scene

Co-authored-by: coreglitch <mail@s3f.ru>
This commit is contained in:
SG
2021-03-05 19:47:27 +10:00
committed by GitHub
parent 025b77ecc1
commit 7afdd14a4c
21 changed files with 648 additions and 18 deletions

View File

@@ -31,6 +31,7 @@ int32_t music_player(void* p);
int32_t sdnfc(void* p);
int32_t floopper_bloopper(void* p);
int32_t sd_filesystem(void* p);
int32_t app_subghz(void* p);
int32_t gui_test(void* p);
@@ -148,6 +149,10 @@ const FlipperApplication FLIPPER_SERVICES[] = {
#ifdef APP_GUI_TEST
{.app = gui_test, .name = "gui_test", .icon = A_Plugins_14},
#endif
#ifdef APP_SUBGHZ
{.app = app_subghz, .name = "app_subghz", .icon = A_Plugins_14},
#endif
};
const size_t FLIPPER_SERVICES_COUNT = sizeof(FLIPPER_SERVICES) / sizeof(FlipperApplication);
@@ -220,6 +225,10 @@ const FlipperApplication FLIPPER_PLUGINS[] = {
#ifdef BUILD_GUI_TEST
{.app = gui_test, .name = "gui_test", .icon = A_Plugins_14},
#endif
#ifdef BUILD_SUBGHZ
{.app = app_subghz, .name = "app_subghz", .icon = A_Plugins_14},
#endif
};
const size_t FLIPPER_PLUGINS_COUNT = sizeof(FLIPPER_PLUGINS) / sizeof(FlipperApplication);