From 8bb7b5cceaaf96a5dd6321d35aae28748896d87b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 22 Aug 2020 19:44:49 +0200 Subject: Added *very* basic polling ipc --- libgui/inc/gui.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libgui/inc') 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 +#include #include // 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 -- cgit v1.2.3