diff options
Diffstat (limited to 'libs/ardour/ardour/scene_change.h')
-rw-r--r-- | libs/ardour/ardour/scene_change.h | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/libs/ardour/ardour/scene_change.h b/libs/ardour/ardour/scene_change.h index ee711985b5..661d2238b7 100644 --- a/libs/ardour/ardour/scene_change.h +++ b/libs/ardour/ardour/scene_change.h @@ -36,17 +36,21 @@ 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 */ |