From 53679300c7a20dc21f96b1e502585204b36eda35 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 22 Feb 2021 23:23:08 +0100 Subject: Started new frontend lib --- libgui/inc/msg.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libgui/inc/msg.h') diff --git a/libgui/inc/msg.h b/libgui/inc/msg.h index e120b70..db00460 100644 --- a/libgui/inc/msg.h +++ b/libgui/inc/msg.h @@ -6,6 +6,8 @@ #include #define MSG_MAGIC 0x42042069 +#define MSG_SUCCESS (1 << 29) +#define MSG_FAILURE (1 << 30) struct message { u32 magic; @@ -15,12 +17,14 @@ struct message { }; enum message_type { - // GFX + // GFX // TODO: Remove GFX_NEW_CONTEXT, GFX_REDRAW, GFX_REDRAW_FOCUSED, // GUI + GUI_NEW_WINDOW, + GUI_REDRAW_WINDOW, GUI_KILL, GUI_KEYBOARD, GUI_MOUSE, -- cgit v1.2.3