forked from TylerWilley/flipper-f-com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
scene_main_menu.h
29 lines (24 loc) · 684 Bytes
/
scene_main_menu.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
Main Menu
*/
#ifndef SCENE_MAIN_MENU_HEADERS
#define SCENE_MAIN_MENU_HEADERS
#include "flipper.h"
/** main menu options enum */
typedef enum {
MainMenuSelectionListen,
MainMenuSelectionSaved,
MainMenuSelectionAdd,
MainMenuSelectionSerial,
} FcomMainMenuSceneIndex;
/** main menu events */
typedef enum {
MainMenuSceneSelectionEventListen,
MainMenuSceneSelectionEventSaved,
MainMenuSceneSelectionEventAdd,
MainMenuSceneSelectionEventSerial,
} FcomMainMenuEvent;
void fcom_main_menu_scene_on_enter(void* context);
bool fcom_main_menu_scene_on_event(void* context, SceneManagerEvent event);
void fcom_main_menu_scene_on_exit(void* context);
#endif