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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mgui/mgui.h b/include/mgui/mgui.h
index cb018d5..024a062 100644
--- a/include/mgui/mgui.h
+++ b/include/mgui/mgui.h
@@ -5,14 +5,14 @@ typedef struct mgui_widget mgui_widget;
typedef struct mgl_event mgl_event;
typedef struct mgl_window mgl_window;
-void mgui_init();
-void mgui_deinit();
+void mgui_init(void);
+void mgui_deinit(void);
void mgui_on_event(mgui_widget *root_widget, mgl_window *window, mgl_event *event);
/* This should only be called once every frame */
void mgui_draw(mgui_widget *root_widget, mgl_window *window);
/* Clamped to 1.0 second */
-double mgui_get_seconds_since_last_update();
+double mgui_get_seconds_since_last_update(void);
/* Clamped to 1.0 second */
-double mgui_get_frame_time_seconds();
+double mgui_get_frame_time_seconds(void);
#endif /* MGUI_H */