Foldback: remove unused processor actions

Also since foldback-busses are not selectable AxisViews,
various keyboard-shortcut operations cannot be performed
from the mixer-context. However the processox-box itself
provides these actions for the fold-back bus.
This commit is contained in:
Robin Gareus 2021-03-26 23:50:47 +01:00
parent a94c0d62a6
commit 212b08b422
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
3 changed files with 3 additions and 49 deletions

View File

@ -1005,54 +1005,12 @@ FoldbackStrip::route_active_changed ()
reset_strip_style ();
}
void
FoldbackStrip::copy_processors ()
{
insert_box->processor_operation (ProcessorBox::ProcessorsCopy);
}
void
FoldbackStrip::cut_processors ()
{
insert_box->processor_operation (ProcessorBox::ProcessorsCut);
}
void
FoldbackStrip::paste_processors ()
{
insert_box->processor_operation (ProcessorBox::ProcessorsPaste);
}
void
FoldbackStrip::select_all_processors ()
{
insert_box->processor_operation (ProcessorBox::ProcessorsSelectAll);
}
void
FoldbackStrip::deselect_all_processors ()
{
insert_box->processor_operation (ProcessorBox::ProcessorsSelectNone);
}
bool
FoldbackStrip::delete_processors ()
{
return insert_box->processor_operation (ProcessorBox::ProcessorsDelete);
}
void
FoldbackStrip::toggle_processors ()
{
insert_box->processor_operation (ProcessorBox::ProcessorsToggleActive);
}
void
FoldbackStrip::ab_plugins ()
{
insert_box->processor_operation (ProcessorBox::ProcessorsAB);
}
void
FoldbackStrip::create_selected_sends (bool post_fader)
{

View File

@ -145,14 +145,7 @@ public:
void route_active_changed ();
void copy_processors ();
void cut_processors ();
void paste_processors ();
void select_all_processors ();
void deselect_all_processors ();
bool delete_processors (); //note: returns false if nothing was deleted
void toggle_processors ();
void ab_plugins ();
private:
void init ();

View File

@ -693,6 +693,9 @@ Mixer_UI::deselect_all_strip_processors ()
for (list<MixerStrip *>::iterator i = strips.begin(); i != strips.end(); ++i) {
(*i)->deselect_all_processors();
}
if (foldback_strip) {
foldback_strip->deselect_all_processors ();
}
}
void