diff options
Diffstat (limited to 'src/ui/ui_shared.h')
-rw-r--r-- | src/ui/ui_shared.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/ui/ui_shared.h b/src/ui/ui_shared.h index 48bf78cd..c42dd241 100644 --- a/src/ui/ui_shared.h +++ b/src/ui/ui_shared.h @@ -282,7 +282,15 @@ typedef struct itemDef_s colorRangeDef_t colorRanges[MAX_COLOR_RANGES]; float special; // used for feeder id's etc.. diff per type int cursorPos; // cursor position in characters - void *typeData; // type specific data ptr's + union + { + void *data; + listBoxDef_t *list; + editFieldDef_t *edit; + multiDef_t *multi; + comboBoxDef_t *combo; + modelDef_t *model; + } typeData; // type specific data pointers } itemDef_t; |