aboutsummaryrefslogtreecommitdiff
path: root/include/mgui/richtext.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-12-14 23:48:34 +0100
committerdec05eba <dec05eba@protonmail.com>2021-12-15 10:30:34 +0100
commit0417619b36dc7f4b004caa64a65570f1344d1c8d (patch)
tree10c4b9bbe5bd7c16322495890c3324cd76d584c8 /include/mgui/richtext.h
parent396686a09ef471499c11256b8516c2702f761060 (diff)
Layout, expand, etc
Diffstat (limited to 'include/mgui/richtext.h')
-rw-r--r--include/mgui/richtext.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/mgui/richtext.h b/include/mgui/richtext.h
index c0604c9..ff57271 100644
--- a/include/mgui/richtext.h
+++ b/include/mgui/richtext.h
@@ -31,9 +31,8 @@ mgui_widget* mgui_richtext_to_widget(mgui_richtext *list);
mgui_richtext* mgui_widget_to_richtext(mgui_widget *widget);
void mgui_richtext_set_position(mgui_richtext *self, mgl_vec2i position);
-void mgui_richtext_set_width(mgui_richtext *self, int width);
+void mgui_richtext_calculate_size(mgui_richtext *self, mgl_vec2i max_size);
void mgui_richtext_on_event(mgui_richtext *self, mgl_window *window, mgl_event *event);
-/* Returns the size of the widget */
-mgl_vec2i mgui_richtext_draw(mgui_richtext *self, mgl_window *window);
+void mgui_richtext_draw(mgui_richtext *self, mgl_window *window);
#endif /* MGUI_RICHTEXT_H */