[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

@@ -103,7 +103,11 @@ int32_t app_loader(void* p) {
menu, menu_item_alloc_function("Games", assets_icons_get(A_Games_14), NULL, NULL));
menu_item_add(
menu,
menu_item_alloc_function("Passport", assets_icons_get(A_Passport_14), NULL, NULL));
menu_item_alloc_function(
"Passport",
assets_icons_get(A_Passport_14),
app_loader_menu_callback,
(void*)&FLIPPER_SCENE_APPS[0]));
menu_item_add(
menu,
menu_item_alloc_function("Settings", assets_icons_get(A_Settings_14), NULL, NULL));