1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
-
-
- #ifndef __UI_H__
- #define __UI_H__
-
- struct ui_status {
- bool light_corner;
- bool light_workspace;
- bool light_kitchen;
- bool sound_amplifier;
- bool light_bench;
- bool light_pc;
- bool light_amp;
- bool light_box;
- };
-
- extern struct ui_status ui_status;
-
- enum ui_state {
- UI_INIT = 0,
- UI_WIFI_CONNECT,
- UI_WIFI_CONNECTING,
- UI_WIFI_CONNECTED,
- UI_READY,
- };
-
- void ui_init(void);
- void ui_draw_menu(void);
- void ui_run(void);
-
- void ui_progress(enum ui_state state);
-
- #endif
|