aboutsummaryrefslogtreecommitdiff
path: root/libgui/inc/msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'libgui/inc/msg.h')
-rw-r--r--libgui/inc/msg.h6
1 files changed, 5 insertions, 1 deletions
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 <def.h>
#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,