From df54b39b5a1230bb7841f3b63afd1506a395b648 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 28 Oct 2020 22:38:39 +0100 Subject: Fixed relative positioned events They're still hidden though. Let's fix it tomorrow!! --- libgui/inc/gui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgui/inc') 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 }; -- cgit v1.2.3