Tweaks to Mixer and Monitor keybindings:
[ardour.git] / gtk2_ardour / mixer_ui.h
index 5908622c581bdf82092abaa1fa79781bef711e14..aab4480d306c6b887cf7898010f00611e3289fe8 100644 (file)
@@ -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;