From e7fb1f97a5f95bcfd1d924b345f98bc0b496f5c0 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 10 Feb 2021 20:28:16 +0100 Subject: Print to streams instead of serial console --- libgui/inc/gfx.h | 2 +- libgui/inc/gui.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libgui/inc') 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, -- cgit v1.2.3