ui/common/context.h

changeset 33
458831c574f4
parent 25
78ae3efe463f
child 37
56016468753d
--- a/ui/common/context.h	Sat Apr 12 13:44:53 2014 +0200
+++ b/ui/common/context.h	Sat May 10 15:43:22 2014 +0200
@@ -39,6 +39,8 @@
 #endif
 
 typedef struct UiVar         UiVar;
+typedef struct UiListPtr     UiListPtr;
+typedef struct UiListVar     UiListVar;
 typedef struct UiGroupWidget UiGroupWidget;
 
 struct UiContext {
@@ -60,6 +62,14 @@
     UcxMap *from;
 };
 
+struct UiListPtr {
+    UiList *list;
+};
+
+struct UiListVar {
+    UiListPtr *listptr;
+};
+
 struct UiGroupWidget {
     UIWIDGET widget;
     int      *groups;
@@ -68,7 +78,9 @@
 
 enum UiVarType {
     UI_VAR_INTEGER = 0,
-    UI_VAR_STRING
+    UI_VAR_STRING,
+    UI_VAR_TEXT,
+    UI_VAR_LIST
 };
 
 UiContext* uic_context(UiObject *toplevel, UcxMempool *mp);

mercurial