[FL-1149] Dolphin: stage 3 (#422)

* dolphin scenes refactoring & restructuring phase 1
* Passport app: mood and level display, opens from main menu and dolphin scenes. Dolphin scenes: minor refactoring (WIP)
* dolphin scene app restruct
* use gui defines for screen size
* mv passport to dolphin dir

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
its your bedtime
2021-04-26 15:19:14 +03:00
committed by GitHub
parent dbb8a92653
commit 51d726c2d7
19 changed files with 199 additions and 214 deletions

View File

@@ -33,7 +33,7 @@ int32_t sd_filesystem(void* p);
int32_t subghz_app(void* p);
int32_t gui_test(void* p);
int32_t keypad_test(void* p);
int32_t dolphin_scene(void* p);
int32_t scene_app(void* p);
int32_t passport(void* p);
const FlipperApplication FLIPPER_SERVICES[] = {
@@ -149,10 +149,6 @@ const FlipperApplication FLIPPER_SERVICES[] = {
{.app = keypad_test, .name = "keypad_test", .icon = A_Plugins_14},
#endif
#ifdef APP_DOLPHIN_SCENE
{.app = dolphin_scene, .name = "Dolphin [beta]", .stack_size = 1024, .icon = A_Games_14},
#endif
};
const size_t FLIPPER_SERVICES_COUNT = sizeof(FLIPPER_SERVICES) / sizeof(FlipperApplication);
@@ -231,9 +227,8 @@ const FlipperApplication FLIPPER_PLUGINS[] = {
const size_t FLIPPER_PLUGINS_COUNT = sizeof(FLIPPER_PLUGINS) / sizeof(FlipperApplication);
#ifdef BUILD_DOLPHIN_SCENE
const FlipperApplication FLIPPER_SCENES =
{.app = dolphin_scene, .name = "Dolphin [beta]", .stack_size = 1024, .icon = A_Games_14};
const FlipperApplication FLIPPER_SCENE =
{.app = scene_app, .name = "Scenes", .stack_size = 1024, .icon = A_Games_14};
const FlipperApplication FLIPPER_SCENE_APPS[] = {
{.app = passport, .name = "Passport", .stack_size = 1024, .icon = A_Games_14},
@@ -242,5 +237,3 @@ const FlipperApplication FLIPPER_SCENE_APPS[] = {
};
const size_t FLIPPER_SCENE_APPS_COUNT = sizeof(FLIPPER_SCENE_APPS) / sizeof(FlipperApplication);
#endif