ui/ui/toolkit.h

branch
newapi
changeset 208
f632bc0589ab
parent 205
b1ac0dd1d38b
child 215
1bd5534c395d
--- a/ui/ui/toolkit.h	Wed Oct 11 19:11:38 2023 +0200
+++ b/ui/ui/toolkit.h	Wed Oct 11 22:59:42 2023 +0200
@@ -135,6 +135,8 @@
 #endif
 
 #define UI_GROUP_SELECTION  20000
+
+#define UI_GROUPS(...) (int[]){ __VA_ARGS__, -1 }
     
 /* public types */
 typedef int UiBool;

mercurial