timed_remote_scene.h (886B)
1 #pragma once 2 3 #include <gui/scene_manager.h> 4 5 typedef enum 6 { 7 SCENE_BROWSE, 8 SCENE_SELECT, 9 SCENE_CONFIG, 10 SCENE_RUN, 11 SCENE_DONE, 12 SCENE_COUNT, 13 } SceneId; 14 15 typedef enum 16 { 17 EVENT_FILE_SELECTED, 18 EVENT_SIGNAL_SELECTED, 19 EVENT_MODE_CHANGED, 20 EVENT_TIMER_CONFIGURED, 21 EVENT_TIMER_TICK, 22 EVENT_FIRE_SIGNAL, 23 EVENT_DONE, 24 } EvId; 25 26 void scene_browse_enter(void *); 27 bool scene_browse_event(void *, SceneManagerEvent); 28 void scene_browse_exit(void *); 29 void scene_select_enter(void *); 30 bool scene_select_event(void *, SceneManagerEvent); 31 void scene_select_exit(void *); 32 void scene_cfg_enter(void *); 33 bool scene_cfg_event(void *, SceneManagerEvent); 34 void scene_cfg_exit(void *); 35 void scene_run_enter(void *); 36 bool scene_run_event(void *, SceneManagerEvent); 37 void scene_run_exit(void *); 38 void scene_done_enter(void *); 39 bool scene_done_event(void *, SceneManagerEvent); 40 void scene_done_exit(void *);