ui/common/types.c

branch
newapi
changeset 342
99f83fbf48e9
parent 337
2904fba2708b
--- a/ui/common/types.c	Sun Oct 20 21:26:06 2024 +0200
+++ b/ui/common/types.c	Mon Oct 21 15:47:10 2024 +0200
@@ -158,6 +158,10 @@
     cxListClear(list->data);
 }
 
+UIEXPORT void ui_list_update(UiList *list) {
+    list->update(list, 0);
+}
+
 void ui_list_addobsv(UiList *list, ui_callback f, void *data) {
     list->observers = ui_add_observer(list->observers, f, data);
 }

mercurial