aboutsummaryrefslogtreecommitdiff
path: root/libgui/inc
diff options
context:
space:
mode:
Diffstat (limited to 'libgui/inc')
-rw-r--r--libgui/inc/gfx.h2
-rw-r--r--libgui/inc/gui.h2
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,