diff options
author | Marvin Borner | 2021-02-10 20:28:16 +0100 |
---|---|---|
committer | Marvin Borner | 2021-02-10 20:28:16 +0100 |
commit | e7fb1f97a5f95bcfd1d924b345f98bc0b496f5c0 (patch) | |
tree | 70984e3433c5de919d2be59c0ad633156213e30b /libgui/inc | |
parent | edc570a3552a7fdaaf89962e5374d98c2b3dfaa0 (diff) |
Print to streams instead of serial console
Diffstat (limited to 'libgui/inc')
-rw-r--r-- | libgui/inc/gfx.h | 2 | ||||
-rw-r--r-- | libgui/inc/gui.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libgui/inc/gfx.h b/libgui/inc/gfx.h index 718fd28..4998d30 100644 --- a/libgui/inc/gfx.h +++ b/libgui/inc/gfx.h @@ -42,7 +42,7 @@ enum font_type { FONT_8, FONT_12, FONT_16, FONT_24, FONT_32, FONT_64 }; -enum message_type { GFX_NEW_CONTEXT = EVENT_MAX + 1, GFX_REDRAW, GFX_REDRAW_FOCUSED, GFX_MAX }; +enum message_type { GFX_NEW_CONTEXT, GFX_REDRAW, GFX_REDRAW_FOCUSED, GFX_MAX }; // Generalized font struct struct font { diff --git a/libgui/inc/gui.h b/libgui/inc/gui.h index 331d8b1..8de1f51 100644 --- a/libgui/inc/gui.h +++ b/libgui/inc/gui.h @@ -13,7 +13,7 @@ #define MAX_INPUT_LENGTH 100 // TODO: Improve event types (maybe as struct header) -enum window_event_type { GUI_KILL, GUI_KEYBOARD = GFX_MAX + 1, GUI_MOUSE, GUI_RESIZE, GUI_MAX }; +enum window_event_type { GUI_KILL, GUI_KEYBOARD, GUI_MOUSE, GUI_RESIZE, GUI_MAX }; enum element_type { GUI_TYPE_ROOT, GUI_TYPE_CONTAINER, |