diff options
author | Robin Gareus <robin@gareus.org> | 2018-08-08 22:42:12 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-08-08 22:42:12 +0200 |
commit | bf694199ab9412508892608ba80da16d30f8a9ca (patch) | |
tree | 8a39bea5b583b5a56a71163ab40736dd9a07ba78 /gtk2_ardour/mixer_ui.h | |
parent | 3064c5a6753bdccb86d446d2cba15f95d372f002 (diff) |
Add method to show/hide VCA (and Mixbus) Mixer pane
Diffstat (limited to 'gtk2_ardour/mixer_ui.h')
-rw-r--r-- | gtk2_ardour/mixer_ui.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/mixer_ui.h b/gtk2_ardour/mixer_ui.h index cfe1f1b294..0ef17eee38 100644 --- a/gtk2_ardour/mixer_ui.h +++ b/gtk2_ardour/mixer_ui.h @@ -133,6 +133,15 @@ public: void load_bindings (); Gtkmm2ext::Bindings* bindings; + void showhide_vcas (bool on) { + if (on) { vca_vpacker.show(); } else { vca_vpacker.hide(); } + } +#ifdef MIXBUS + void showhide_mixbusses (bool on) { + if (on) { mb_vpacker.show(); } else { mb_vpacker.hide(); } + } +#endif + protected: void set_axis_targets_for_operation (); ARDOUR::AutomationControlSet selected_gaincontrols (); |