[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

@@ -80,7 +80,7 @@ bool dolphin_view_idle_main_input(InputEvent* event, void* context) {
} else if(event->key == InputKeyLeft) {
view_dispatcher_switch_to_view(dolphin->idle_view_dispatcher, DolphinViewIdleUp);
} else if(event->key == InputKeyRight) {
dolphin_switch_to_interactive_scene(dolphin, &FLIPPER_SCENES);
dolphin_switch_to_interactive_scene(dolphin, &FLIPPER_SCENE);
} else if(event->key == InputKeyDown) {
view_dispatcher_switch_to_view(dolphin->idle_view_dispatcher, DolphinViewIdleDown);
}