summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_strip.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-10-29 20:08:48 +0000
committerCarl Hetherington <carl@carlh.net>2011-10-29 20:08:48 +0000
commitdb429c2362f69664805c14419b95ad6b02759948 (patch)
tree0fea91d0ae0c43931ccf31e134409169ba486bf9 /gtk2_ardour/mixer_strip.h
parent4d365d08c1f654289f3df5a3b2ef6079b1dcea28 (diff)
Some limited control of mixer strip component
visibility. git-svn-id: svn://localhost/ardour2/branches/3.0@10341 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mixer_strip.h')
-rw-r--r--gtk2_ardour/mixer_strip.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/gtk2_ardour/mixer_strip.h b/gtk2_ardour/mixer_strip.h
index dd6dddf6ea..c08d6186aa 100644
--- a/gtk2_ardour/mixer_strip.h
+++ b/gtk2_ardour/mixer_strip.h
@@ -53,6 +53,7 @@
#include "enums.h"
#include "processor_box.h"
#include "ardour_dialog.h"
+#include "visibility_group.h"
namespace ARDOUR {
class Route;
@@ -120,6 +121,8 @@ class MixerStrip : public RouteUI, public Gtk::EventBox
std::string state_id() const;
+ void parameter_changed (std::string);
+
protected:
friend class Mixer_UI;
void set_packed (bool yn);
@@ -290,6 +293,17 @@ class MixerStrip : public RouteUI, public Gtk::EventBox
void update_io_button (boost::shared_ptr<ARDOUR::Route> route, Width width, bool input_button);
void port_connected_or_disconnected (boost::weak_ptr<ARDOUR::Port>, boost::weak_ptr<ARDOUR::Port>);
+ /** A VisibilityGroup to manage the visibility of some of our controls.
+ * We fill it with the controls that are being managed, using the same names
+ * as those used with _mixer_strip_visibility in RCOptionEditor. Then
+ * this VisibilityGroup is configured by changes to the RC variable
+ * mixer-strip-visibility, which happen when the user makes changes in
+ * the RC option editor.
+ */
+ VisibilityGroup _visibility;
+
+ PBD::ScopedConnection _config_connection;
+
static std::string meter_point_string (ARDOUR::MeterPoint);
};