[FL-1019] New main screen and graphics (#389)
* new status bar, lock menu and dolphin activities screen * lock icon indication * main screen animation, basic scene switching * level progression calculations based on icounter value Co-authored-by: rusdacent <rusdacentx0x08@gmail.com> Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -13,6 +13,8 @@ typedef enum {
|
||||
DolphinViewIdleUp,
|
||||
DolphinViewIdleDown,
|
||||
DolphinViewHwMismatch,
|
||||
DolphinViewLockMenu,
|
||||
DolphinViewIdleMeta,
|
||||
} DolphinViewIdle;
|
||||
|
||||
typedef struct {
|
||||
@@ -27,12 +29,27 @@ typedef struct {
|
||||
uint32_t butthurt;
|
||||
} DolphinViewIdleUpModel;
|
||||
|
||||
typedef struct {
|
||||
uint8_t idx;
|
||||
} DolphinViewMenuModel;
|
||||
|
||||
typedef struct {
|
||||
Icon* animation;
|
||||
uint8_t scene_num;
|
||||
|
||||
} DolphinViewMainModel;
|
||||
|
||||
void dolphin_view_idle_main_draw(Canvas* canvas, void* model);
|
||||
bool dolphin_view_idle_main_input(InputEvent* event, void* context);
|
||||
|
||||
void dolphin_view_idle_up_draw(Canvas* canvas, void* model);
|
||||
|
||||
void dolphin_view_lockmenu_draw(Canvas* canvas, void* model);
|
||||
|
||||
void dolphin_view_idle_down_draw(Canvas* canvas, void* model);
|
||||
|
||||
void dolphin_view_idle_meta_draw(Canvas* canvas, void* model);
|
||||
|
||||
void dolphin_view_hw_mismatch_draw(Canvas* canvas, void* model);
|
||||
|
||||
uint32_t dolphin_view_idle_back(void* context);
|
||||
|
Reference in New Issue
Block a user