selected Stripables now have a counter to indicate the order they were selected in
[ardour.git] / libs / ardour / ardour / scene_change.h
index ee711985b5500bf2bad910004b4f53980d20376e..adb65546b5cc40a3078675ce7b4d8cf27889f1e6 100644 (file)
@@ -36,20 +36,24 @@ class SceneChange : public PBD::Stateful
        static boost::shared_ptr<SceneChange> factory (const XMLNode&, int version);
        static std::string xml_node_name;
 
-       uint32_t color() const;
-       void set_color (uint32_t);
-       bool color_out_of_bounds() const { return _color == out_of_bound_color; }
-       static const uint32_t out_of_bound_color;
-        
-       PBD::Signal0<void> ColorChanged;
+        uint32_t color() const;
+        void set_color (uint32_t);
+        bool color_out_of_bounds() const { return _color == out_of_bound_color; }
+        static const uint32_t out_of_bound_color;
 
-protected:
-       /* derived classes are responsible for serializing & deserializing this value */
-       uint32_t _color;
+        bool active () const { return _active; }
+        void set_active (bool);
 
+        PBD::Signal0<void> ColorChanged;
+        PBD::Signal0<void> ActiveChanged;
+
+    protected:
+        /* derived classes are responsible for serializing & deserializing this value */
+        uint32_t _color;
+        bool     _active;
 };
 
 } /* namespace */
-       
+
 
 #endif /* __libardour_scene_change_h__ */