aboutsummaryrefslogtreecommitdiff
path: root/libgui/inc/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'libgui/inc/gui.h')
-rw-r--r--libgui/inc/gui.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/libgui/inc/gui.h b/libgui/inc/gui.h
index d160333..a3f74f8 100644
--- a/libgui/inc/gui.h
+++ b/libgui/inc/gui.h
@@ -4,14 +4,10 @@
#define GUI_H
#include <def.h>
-#include <gfx.h>
+#include <errno.h>
-struct gui_window {
- u32 id;
- struct context ctx;
-};
-
-s32 gui_new_window(struct gui_window *win);
-s32 gui_redraw_window(u32 id);
+res gui_new_window(void);
+res gui_redraw_window(u32 id);
+void gui_loop(void);
#endif