ui/common/menu.h

changeset 101
7b3a3130be44
parent 88
e27526429d85
equal deleted inserted replaced
100:d2bd73d28ff1 101:7b3a3130be44
99 struct UiMenuRadioItem { 99 struct UiMenuRadioItem {
100 UiMenuItemI item; 100 UiMenuItemI item;
101 char *label; 101 char *label;
102 char *stockid; 102 char *stockid;
103 char *icon; 103 char *icon;
104 char *varname;
104 ui_callback callback; 105 ui_callback callback;
105 void *userdata; 106 void *userdata;
106 int *groups; 107 int *groups;
107 size_t ngroups; 108 size_t ngroups;
108 }; 109 };
111 UiMenuItemI item; 112 UiMenuItemI item;
112 ui_getvaluefunc getvalue; 113 ui_getvaluefunc getvalue;
113 ui_callback callback; 114 ui_callback callback;
114 void *userdata; 115 void *userdata;
115 char *varname; 116 char *varname;
117 UiBool addseparator;
116 }; 118 };
117 119
118 120
119 121
120 struct UiMenuBuilder { 122 struct UiMenuBuilder {

mercurial