diff options
author | Carl Hetherington <carl@carlh.net> | 2011-11-03 17:49:12 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-11-03 17:49:12 +0000 |
commit | 712d7fd5e4e58af842f33408904b3936647ef0c3 (patch) | |
tree | 3f37b4871594b0b75ef4d73354b33a4dc75b9c76 | |
parent | eff5781ee1c697fd565e68737fbec8c063f7e637 (diff) |
Update mixer strip colours when route active state changes
(#4439).
git-svn-id: svn://localhost/ardour2/branches/3.0@10429 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/mixer_strip.cc | 6 | ||||
-rw-r--r-- | gtk2_ardour/mixer_strip.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index 9a7a447e46..f767396308 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -2071,3 +2071,9 @@ MixerStrip::add_output_port (DataType t) { _route->output()->add_port ("", this, t); } + +void +MixerStrip::route_active_changed () +{ + reset_strip_style (); +} diff --git a/gtk2_ardour/mixer_strip.h b/gtk2_ardour/mixer_strip.h index f0b7f27086..14d89fa1b0 100644 --- a/gtk2_ardour/mixer_strip.h +++ b/gtk2_ardour/mixer_strip.h @@ -121,6 +121,7 @@ class MixerStrip : public RouteUI, public Gtk::EventBox std::string state_id() const; void parameter_changed (std::string); + void route_active_changed (); protected: friend class Mixer_UI; |