ui/common/context.h

changeset 168
1b99acacc5bb
parent 167
161511838ea6
child 174
0358f1d9c506
--- a/ui/common/context.h	Thu Dec 10 13:42:25 2020 +0100
+++ b/ui/common/context.h	Fri Dec 11 11:47:30 2020 +0100
@@ -91,9 +91,10 @@
 };
 
 struct UiGroupWidget {
-    UIWIDGET widget;
-    int      *groups;
-    int      numgroups;
+    void          *widget;
+    ui_enablefunc enable;
+    int           *groups;
+    int           numgroups;
 };
 
 
@@ -121,7 +122,7 @@
 void uic_remove_bound_var(UiContext *ctx, UiVar *var);
 
 void uic_check_group_widgets(UiContext *ctx);
-void uic_add_group_widget(UiContext *ctx, void *widget, UcxList *groups);
+void uic_add_group_widget(UiContext *ctx, void *widget, ui_enablefunc enable, UcxList *groups);
 
 
 #ifdef	__cplusplus

mercurial