aboutsummaryrefslogtreecommitdiff
path: root/libgui/inc
diff options
context:
space:
mode:
authorMarvin Borner2020-10-28 22:38:39 +0100
committerMarvin Borner2020-10-28 22:38:39 +0100
commitdf54b39b5a1230bb7841f3b63afd1506a395b648 (patch)
treed31883704d0d27b5d89d28d00572b2e06cee3dda /libgui/inc
parent913764dfca7b546719a004c17c081ca9f42ba13e (diff)
Fixed relative positioned events
They're still hidden though. Let's fix it tomorrow!!
Diffstat (limited to 'libgui/inc')
-rw-r--r--libgui/inc/gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgui/inc/gui.h b/libgui/inc/gui.h
index 14f2e4e..b79db3a 100644
--- a/libgui/inc/gui.h
+++ b/libgui/inc/gui.h
@@ -12,7 +12,7 @@
// TODO: Improve event types (maybe as struct header)
enum window_event_type { GUI_KEYBOARD = GFX_MAX + 1, GUI_MOUSE, GUI_MAX };
-enum element_type { GUI_TYPE_CONTAINER, GUI_TYPE_BUTTON, GUI_TYPE_TEXTBOX };
+enum element_type { GUI_TYPE_ROOT, GUI_TYPE_CONTAINER, GUI_TYPE_BUTTON, GUI_TYPE_TEXTBOX };
enum container_flags { SPLIT };