summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_ui.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2018-12-11 10:28:47 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2018-12-11 10:28:47 -0500
commit098b0f8a8b904313bc2e9e3147cc3c05fd83f3e6 (patch)
tree83439d12376bc0d5cf0b41587be651361881603f /gtk2_ardour/mixer_ui.h
parent685c4f89558b57f22371f3f3adb59c4ded254b8d (diff)
full (?) set of changes required to make MonitorSection an "always-there" component of the MixerUI
Obviously, it is not always shown, but it always exists, which means that its actions are always accessible
Diffstat (limited to 'gtk2_ardour/mixer_ui.h')
-rw-r--r--gtk2_ardour/mixer_ui.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/gtk2_ardour/mixer_ui.h b/gtk2_ardour/mixer_ui.h
index 6c51076999..1dd4b8de92 100644
--- a/gtk2_ardour/mixer_ui.h
+++ b/gtk2_ardour/mixer_ui.h
@@ -52,6 +52,7 @@
#include "axis_provider.h"
#include "enums.h"
+#include "monitor_section.h"
#include "route_processor_selection.h"
namespace ARDOUR {
@@ -107,7 +108,7 @@ public:
void maximise_mixer_space();
void restore_mixer_space();
- MonitorSection* monitor_section() const { return _monitor_section; }
+ MonitorSection& monitor_section() { return _monitor_section; }
void deselect_all_strip_processors();
void delete_processors();
@@ -287,8 +288,8 @@ private:
void track_column_click (gint);
void build_track_menu ();
- MonitorSection* _monitor_section;
- PluginSelector *_plugin_selector;
+ MonitorSection _monitor_section;
+ PluginSelector *_plugin_selector;
void stripable_property_changed (const PBD::PropertyChange& what_changed, boost::weak_ptr<ARDOUR::Stripable> ws);
void route_group_property_changed (ARDOUR::RouteGroup *, const PBD::PropertyChange &);
@@ -378,10 +379,7 @@ private:
friend class MixerGroupTabs;
- void set_monitor_action_sensitivity (bool);
-
void monitor_section_going_away ();
-
void monitor_section_attached ();
void monitor_section_detached ();