diff --git a/cwFlowDecl.h b/cwFlowDecl.h index 49355aa..a066c93 100644 --- a/cwFlowDecl.h +++ b/cwFlowDecl.h @@ -110,6 +110,7 @@ namespace cw } ui_proc_desc_t; struct ui_proc_str; + struct list_str; typedef struct ui_var_str { @@ -126,7 +127,8 @@ namespace cw unsigned vid; // flow::variable_t::vid unsigned ch_idx; // flow::variable_t::chIdx unsigned ch_cnt; // 0=kAnyChIdx only, kInvalidCnt=no channels, 1=mono, 2=stereo, ... - + const struct list_str* list; + unsigned user_id; // uuId of the UI element that represents this var bool disable_fl; // true if this ui var is disabled diff --git a/cwFlowNet.cpp b/cwFlowNet.cpp index 2bf369b..aa96baa 100644 --- a/cwFlowNet.cpp +++ b/cwFlowNet.cpp @@ -3472,6 +3472,7 @@ namespace cw ui_var->vid = var->vid; ui_var->ch_cnt = var_channel_count( net.procA[i], var->label, var->label_sfx_id ); ui_var->ch_idx = var->chIdx; + ui_var->list = var->value_list; ui_var->value_tid = (var->varDesc->type & flow::kTypeMask) == kAllTFl ? kAllTFl : var->type; ui_var->desc_flags = var->varDesc->flags; ui_var->ui_cfg = var->varDesc->ui_cfg;