aboutsummaryrefslogtreecommitdiff
path: root/libgui/inc
diff options
context:
space:
mode:
Diffstat (limited to 'libgui/inc')
-rw-r--r--libgui/inc/gui.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libgui/inc/gui.h b/libgui/inc/gui.h
index c646fab..acef037 100644
--- a/libgui/inc/gui.h
+++ b/libgui/inc/gui.h
@@ -5,6 +5,7 @@
#define GUI_H
#include <def.h>
+#include <sys.h>
#include <vesa.h>
// Generalized font struct
@@ -18,4 +19,9 @@ struct font {
void gui_write(struct vbe *vbe, int x, int y, const u32 c[3], char *text);
void gui_init(char *font_path);
+/**
+ * Wrappers
+ */
+#define gui_new_window() msg_send(1, MSG_NEW_WINDOW, NULL);
+
#endif