aboutsummaryrefslogtreecommitdiff
path: root/libs/libgui/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libgui/gui.h')
-rw-r--r--libs/libgui/gui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/libgui/gui.h b/libs/libgui/gui.h
index 0a4427b..10d44d8 100644
--- a/libs/libgui/gui.h
+++ b/libs/libgui/gui.h
@@ -6,6 +6,7 @@
#include <def.h>
#include <errno.h>
#include <libgui/gfx.h>
+#include <sys.h>
#include <vec.h>
enum gui_listener {
@@ -87,5 +88,6 @@ void gui_widget_margin(u32 win_id, u32 widget_id, vec2 margin);
void gui_widget_layout(u32 win_id, u32 widget_id, enum gui_layout layout);
void gui_loop(void);
+void gui_time_loop(u32 time, void (*callback)(struct timer *time));
#endif