diff options
author | Marvin Borner | 2020-08-22 19:44:49 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-22 19:44:49 +0200 |
commit | 8bb7b5cceaaf96a5dd6321d35aae28748896d87b (patch) | |
tree | 9a4103fb1da636fdf0c5ec8f04425c0c388f527d /libgui/inc | |
parent | 424dc57424ee17de77d689443f95d2e1bed72f4a (diff) |
Added *very* basic polling ipc
Diffstat (limited to 'libgui/inc')
-rw-r--r-- | libgui/inc/gui.h | 6 |
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 |