cwFlowDecl.h,cwFlowNet.cpp : Added ui_var_t.list and initialization of ui_var->list in _fill_net_ui_proc_and_preset_arrays().
This commit is contained in:
parent
db3755d8db
commit
b97e1fc8a2
@ -110,6 +110,7 @@ namespace cw
|
|||||||
} ui_proc_desc_t;
|
} ui_proc_desc_t;
|
||||||
|
|
||||||
struct ui_proc_str;
|
struct ui_proc_str;
|
||||||
|
struct list_str;
|
||||||
|
|
||||||
typedef struct ui_var_str
|
typedef struct ui_var_str
|
||||||
{
|
{
|
||||||
@ -126,6 +127,7 @@ namespace cw
|
|||||||
unsigned vid; // flow::variable_t::vid
|
unsigned vid; // flow::variable_t::vid
|
||||||
unsigned ch_idx; // flow::variable_t::chIdx
|
unsigned ch_idx; // flow::variable_t::chIdx
|
||||||
unsigned ch_cnt; // 0=kAnyChIdx only, kInvalidCnt=no channels, 1=mono, 2=stereo, ...
|
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
|
unsigned user_id; // uuId of the UI element that represents this var
|
||||||
|
|
||||||
|
@ -3472,6 +3472,7 @@ namespace cw
|
|||||||
ui_var->vid = var->vid;
|
ui_var->vid = var->vid;
|
||||||
ui_var->ch_cnt = var_channel_count( net.procA[i], var->label, var->label_sfx_id );
|
ui_var->ch_cnt = var_channel_count( net.procA[i], var->label, var->label_sfx_id );
|
||||||
ui_var->ch_idx = var->chIdx;
|
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->value_tid = (var->varDesc->type & flow::kTypeMask) == kAllTFl ? kAllTFl : var->type;
|
||||||
ui_var->desc_flags = var->varDesc->flags;
|
ui_var->desc_flags = var->varDesc->flags;
|
||||||
ui_var->ui_cfg = var->varDesc->ui_cfg;
|
ui_var->ui_cfg = var->varDesc->ui_cfg;
|
||||||
|
Loading…
Reference in New Issue
Block a user