projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed incomplete merge for audioengine.cc
[ardour.git]
/
libs
/
ardour
/
scene_change.cc
diff --git
a/libs/ardour/scene_change.cc
b/libs/ardour/scene_change.cc
index 6560a7ca2f18e52a64d5b4150f8800508622fb8b..322b37a1951b972296bf63bca3e9af1942327928 100644
(file)
--- a/
libs/ardour/scene_change.cc
+++ b/
libs/ardour/scene_change.cc
@@
-41,6
+41,7
@@
SceneChange::factory (const XMLNode& node, int version)
SceneChange::SceneChange ()
: _color (out_of_bound_color)
+ , _active (true)
{
}
@@
-56,3
+57,12
@@
SceneChange::color() const
{
return _color;
}
+
+void
+SceneChange::set_active (bool yn)
+{
+ if (_active != yn) {
+ _active = yn;
+ ActiveChanged (); /* EMIT SIGNAL */
+ }
+}