mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
triggerbox: use all_trigger_props (gui part)
This commit is contained in:
parent
d9773e5788
commit
5802fd52eb
1 changed files with 1 additions and 18 deletions
|
|
@ -827,24 +827,7 @@ TriggerUI::set_trigger (ARDOUR::TriggerReference tr)
|
||||||
|
|
||||||
tref = tr;
|
tref = tr;
|
||||||
|
|
||||||
PropertyChange pc;
|
trigger_changed (TriggerBox::all_trigger_props());
|
||||||
|
|
||||||
pc.add (Properties::name);
|
|
||||||
pc.add (Properties::color);
|
|
||||||
pc.add (Properties::gain);
|
|
||||||
pc.add (Properties::stretch_mode);
|
|
||||||
pc.add (Properties::legato);
|
|
||||||
pc.add (Properties::quantization);
|
|
||||||
pc.add (Properties::launch_style);
|
|
||||||
pc.add (Properties::use_follow_length);
|
|
||||||
pc.add (Properties::follow_length);
|
|
||||||
pc.add (Properties::follow_count);
|
|
||||||
pc.add (Properties::follow_action0);
|
|
||||||
pc.add (Properties::follow_action1);
|
|
||||||
pc.add (Properties::velocity_effect);
|
|
||||||
pc.add (Properties::follow_action_probability);
|
|
||||||
|
|
||||||
trigger_changed (pc);
|
|
||||||
|
|
||||||
trigger()->PropertyChanged.connect (trigger_connections, invalidator (*this), boost::bind (&TriggerUI::trigger_changed, this, _1), gui_context());
|
trigger()->PropertyChanged.connect (trigger_connections, invalidator (*this), boost::bind (&TriggerUI::trigger_changed, this, _1), gui_context());
|
||||||
tref.box->PropertyChanged.connect (trigger_connections, invalidator (*this), boost::bind (&TriggerUI::trigger_changed, this, _1), gui_context ());
|
tref.box->PropertyChanged.connect (trigger_connections, invalidator (*this), boost::bind (&TriggerUI::trigger_changed, this, _1), gui_context ());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue