// // Created by MightyPork on 2023/04/09. // #ifndef ZAVLAHA_GUI_EVENT_H #define ZAVLAHA_GUI_EVENT_H // sent through the notify queue typedef enum GuiEvent { /// No event, zero; This is a default value. GUI_EVENT_NONE = 0, /// Cause redraw GUI_EVENT_PAINT = 0, /// Used as the argument when initing a screen GUI_EVENT_SCREEN_INIT = 1, /// Time tick, used to carry timing to the screen functions. /// This tick has 10ms interval GUI_EVENT_SCREEN_TICK = 2, /// Keypad GUI_EVENT_KEY_0 = '0', GUI_EVENT_KEY_1, GUI_EVENT_KEY_2, GUI_EVENT_KEY_3, GUI_EVENT_KEY_4, GUI_EVENT_KEY_5, GUI_EVENT_KEY_6, GUI_EVENT_KEY_7, GUI_EVENT_KEY_8, GUI_EVENT_KEY_9, GUI_EVENT_KEY_A = 'A', GUI_EVENT_KEY_B, GUI_EVENT_KEY_C, GUI_EVENT_KEY_D, GUI_EVENT_KEY_STAR = '*', GUI_EVENT_KEY_HASH = '#', } GuiEvent; #endif //ZAVLAHA_GUI_EVENT_H