13
0

Add select-all-tracks mixer-shortcut (following editor)

This commit is contained in:
Robin Gareus 2017-07-08 16:07:42 +02:00
parent b7dc469515
commit 9a0ab26fbf
3 changed files with 9 additions and 0 deletions

View File

@ -4,6 +4,7 @@
<Binding key="m" action="Mixer/mute" group="Operations on the selected strip(s)"/>
<Binding key="Secondary-i" action="Mixer/toggle-midi-input-active" group="Operations on the selected strip(s)"/>
<Binding key="r" action="Mixer/recenable" group="Operations on the selected strip(s)"/>
<Binding key="Primary-t" action="Mixer/select-all-tracks" group="Operations on the selected strip(s)"/>
<Binding key="0" action="Mixer/unity-gain" group="Operations on the selected strip(s)"/>
<Binding key="Up" action="Mixer/increment-gain" group="Operations on the selected strip(s)"/>
<Binding key="Down" action="Mixer/decrement-gain" group="Operations on the selected strip(s)"/>

View File

@ -631,6 +631,12 @@ Mixer_UI::deselect_all_strip_processors ()
}
}
void
Mixer_UI::select_all_tracks ()
{
PublicEditor::instance().select_all_tracks ();
}
void
Mixer_UI::select_none ()
{
@ -2924,6 +2930,7 @@ Mixer_UI::register_actions ()
myactions.register_action (group, "toggle-processors", _("Toggle Selected Processors"), sigc::mem_fun (*this, &Mixer_UI::toggle_processors));
myactions.register_action (group, "ab-plugins", _("Toggle Selected Plugins"), sigc::mem_fun (*this, &Mixer_UI::ab_plugins));
myactions.register_action (group, "select-none", _("Deselect all strips and processors"), sigc::mem_fun (*this, &Mixer_UI::select_none));
myactions.register_action (group, "select-all-tracks", _("Select All Tracks"), sigc::mem_fun (*this, &Mixer_UI::select_all_tracks));
myactions.register_action (group, "scroll-left", _("Scroll Mixer Window to the left"), sigc::mem_fun (*this, &Mixer_UI::scroll_left));
myactions.register_action (group, "scroll-right", _("Scroll Mixer Window to the right"), sigc::mem_fun (*this, &Mixer_UI::scroll_right));

View File

@ -110,6 +110,7 @@ public:
void deselect_all_strip_processors();
void delete_processors();
void select_none ();
void select_all_tracks ();
void do_vca_assign (boost::shared_ptr<ARDOUR::VCA>);
void do_vca_unassign (boost::shared_ptr<ARDOUR::VCA>);