summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_ui.h
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2018-12-03 18:55:52 -0600
committerBen Loftis <ben@harrisonconsoles.com>2018-12-07 12:57:26 -0600
commit65bda27d4218d9d4ebf809d91e716c892e1f1d8b (patch)
tree7254c9cb111d64912c78ce62023986d2fe9668a7 /gtk2_ardour/mixer_ui.h
parent19cb8cf13803b52f2e6956ed24d4e328e61bb1b2 (diff)
Tweaks to Mixer and Monitor keybindings:
Add Mixer-specific view keybindings for list, vca, mon. (thanks to: the_CLA) Move monitor keybindings (mute, dim, mono) to be globally-accessible. Implement new mixer-specific actions to show/hide monitor,vcas,mixbuses (the_CLA) Move monitor funcs (mute,dim,mono) to globally-accessible actions. Make a new Monitor group insted of using Transport group. Allow use-monitor-section to be controlled by both menu and session-options dialog.
Diffstat (limited to 'gtk2_ardour/mixer_ui.h')
-rw-r--r--gtk2_ardour/mixer_ui.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/gtk2_ardour/mixer_ui.h b/gtk2_ardour/mixer_ui.h
index 5908622c58..aab4480d30 100644
--- a/gtk2_ardour/mixer_ui.h
+++ b/gtk2_ardour/mixer_ui.h
@@ -101,9 +101,6 @@ public:
void save_plugin_order_file ();
- void show_mixer_list (bool yn);
- void show_monitor_section (bool);
-
void show_strip (MixerStrip *);
void hide_strip (MixerStrip *);
@@ -135,13 +132,18 @@ public:
void load_bindings ();
Gtkmm2ext::Bindings* bindings;
- void showhide_vcas (bool on) {
- if (on) { vca_vpacker.show(); } else { vca_vpacker.hide(); }
- }
+ void toggle_mixer_list ();
+ void showhide_mixer_list (bool yn);
+
+ void toggle_monitor_section ();
+ void showhide_monitor_section (bool);
+
+ void toggle_vcas ();
+ void showhide_vcas (bool on);
+
#ifdef MIXBUS
- void showhide_mixbusses (bool on) {
- if (on) { mb_vpacker.show(); } else { mb_vpacker.hide(); }
- }
+ void toggle_mixbuses ();
+ void showhide_mixbusses (bool on);
#endif
protected:
@@ -376,6 +378,8 @@ private:
friend class MixerGroupTabs;
+ void set_monitor_action_sensitivity (bool);
+
void monitor_section_going_away ();
void monitor_section_attached ();
@@ -398,9 +402,6 @@ private:
/// true if we are in fullscreen mode
bool _maximised;
- // true if mixer list is visible
- bool _show_mixer_list;
-
bool _strip_selection_change_without_scroll;
mutable boost::weak_ptr<ARDOUR::Stripable> spilled_strip;