diff -r 9a5f47fbc5c3 -r 458831c574f4 ui/common/context.h --- 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);