set sidechain port pretty name
[ardour.git] / libs / ardour / scene_change.cc
index 6560a7ca2f18e52a64d5b4150f8800508622fb8b..aed899565fbbed97aefea12e1fdae97c47bdc910 100644 (file)
@@ -41,11 +41,12 @@ SceneChange::factory (const XMLNode& node, int version)
 
 SceneChange::SceneChange ()
         : _color (out_of_bound_color)
+        , _active (true)
 {
 }
 
 void
-SceneChange::set_color (uint32_t c) 
+SceneChange::set_color (uint32_t c)
 {
         _color = c;
         ColorChanged (); /* EMIT SIGNAL */
@@ -56,3 +57,12 @@ SceneChange::color() const
 {
         return _color;
 }
+
+void
+SceneChange::set_active (bool yn)
+{
+        if (_active != yn) {
+                _active = yn;
+                ActiveChanged (); /* EMIT SIGNAL */
+        }
+}