diff options
Diffstat (limited to 'include/mgui/button.h')
-rw-r--r-- | include/mgui/button.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mgui/button.h b/include/mgui/button.h index 8f9a2db..864d3c6 100644 --- a/include/mgui/button.h +++ b/include/mgui/button.h @@ -17,6 +17,7 @@ mgui_button* mgui_widget_to_button(mgui_widget *widget); void mgui_button_set_position(mgui_button *self, mgl_vec2i position); void mgui_button_on_event(mgui_button *self, mgl_window *window, mgl_event *event); -void mgui_button_draw(mgui_button *self, mgl_window *window); +/* Returns the size of the widget */ +mgl_vec2i mgui_button_draw(mgui_button *self, mgl_window *window); #endif /* MGUI_BUTTON_H */ |