aboutsummaryrefslogtreecommitdiff
path: root/include/mgui/mgui.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mgui/mgui.h')
-rw-r--r--include/mgui/mgui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mgui/mgui.h b/include/mgui/mgui.h
index d76226f..15a2f73 100644
--- a/include/mgui/mgui.h
+++ b/include/mgui/mgui.h
@@ -2,9 +2,11 @@
#define MGUI_H
typedef struct mgui_widget mgui_widget;
+typedef struct mgl_event mgl_event;
typedef struct mgl_window mgl_window;
void mgui_init();
+void mgui_on_event(mgui_widget *root_widget, mgl_window *window, mgl_event *event);
void mgui_draw(mgui_widget *root_widget, mgl_window *window);
/* Clamped to 1.0 second */
double mgui_get_seconds_since_last_update();