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.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/mgui/mgui.h b/include/mgui/mgui.h
new file mode 100644
index 0000000..d76226f
--- /dev/null
+++ b/include/mgui/mgui.h
@@ -0,0 +1,12 @@
+#ifndef MGUI_H
+#define MGUI_H
+
+typedef struct mgui_widget mgui_widget;
+typedef struct mgl_window mgl_window;
+
+void mgui_init();
+void mgui_draw(mgui_widget *root_widget, mgl_window *window);
+/* Clamped to 1.0 second */
+double mgui_get_seconds_since_last_update();
+
+#endif /* MGUI_H */