From 44e987c8521a99519350a42292bcfcd28451dcbd Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 20 Dec 2021 10:26:12 +0100 Subject: Async load images --- include/mgui/list.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/mgui/list.h') diff --git a/include/mgui/list.h b/include/mgui/list.h index 7769ab6..92dce0a 100644 --- a/include/mgui/list.h +++ b/include/mgui/list.h @@ -21,6 +21,7 @@ typedef struct { typedef struct { mgui_widget widget; mgui_list_direction direction; + int spacing; mgl_vec2i position; mgui_list_item *items; size_t items_capacity; @@ -32,6 +33,7 @@ void mgui_list_destroy(mgui_list *list); mgui_widget* mgui_list_to_widget(mgui_list *list); mgui_list* mgui_widget_to_list(mgui_widget *widget); +void mgui_list_set_spacing(mgui_list *self, int spacing); void mgui_list_set_position(mgui_list *self, mgl_vec2i position); void mgui_list_calculate_size(mgui_list *self, mgl_vec2i max_size); void mgui_list_append(mgui_list *self, mgui_widget *widget); -- cgit v1.2.3