ui/common/wrapper.c

changeset 115
e57ca2747782
parent 112
c3f2f16fa4b8
--- a/ui/common/wrapper.c	Sun Dec 07 20:00:33 2025 +0100
+++ b/ui/common/wrapper.c	Sat Dec 13 15:58:58 2025 +0100
@@ -125,6 +125,11 @@
     cxListRemove(cxlist, index);
 }
 
+void ui_srclist_swap(UiList *list, int i1, int i2) {
+    CxList *cxlist = list->data;
+    cxListSwap(cxlist, i1, i2);
+}
+
 void ui_srclist_clear(UiList *list) {
     CxList *cxlist = list->data;
     cxListClear(cxlist);

mercurial