diff options
Diffstat (limited to 'gtk2_ardour/mixer_strip.h')
-rw-r--r-- | gtk2_ardour/mixer_strip.h | 14 |
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); }; |