summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-03-14 10:41:33 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-03-14 10:41:33 -0400
commit591f92e5319800a1610b701727441a56f69f196d (patch)
tree6993e40423a08bb3b25b8e28cb107ad85cf057e2
parent9af5d17708430dce62d438f93f7f9faa1526c56d (diff)
add new Controllable::GroupDisposition value, ForGroup, to identify changes being made *for* a RouteGroup
-rw-r--r--libs/pbd/enums.cc1
-rw-r--r--libs/pbd/pbd/controllable.h6
2 files changed, 6 insertions, 1 deletions
diff --git a/libs/pbd/enums.cc b/libs/pbd/enums.cc
index e8bb80742d..b5b9bc1676 100644
--- a/libs/pbd/enums.cc
+++ b/libs/pbd/enums.cc
@@ -44,6 +44,7 @@ setup_libpbd_enums ()
REGISTER_CLASS_ENUM (Controllable, InverseGroup);
REGISTER_CLASS_ENUM (Controllable, UseGroup);
REGISTER_CLASS_ENUM (Controllable, NoGroup);
+ REGISTER_CLASS_ENUM (Controllable, ForGroup);
REGISTER (controllable_group_disposition);
}
diff --git a/libs/pbd/pbd/controllable.h b/libs/pbd/pbd/controllable.h
index 51c9c64be1..5ac6895d6f 100644
--- a/libs/pbd/pbd/controllable.h
+++ b/libs/pbd/pbd/controllable.h
@@ -84,7 +84,11 @@ class LIBPBD_API Controllable : public PBD::StatefulDestructible {
enum GroupControlDisposition {
InverseGroup, /* set all controls in the same "group" as this one */
NoGroup, /* set only this control */
- UseGroup /* use group settings to decide which group controls are altered */
+ UseGroup, /* use group settings to decide which group controls are altered */
+ ForGroup /* this setting is being done *for* the group
+ (i.e. UseGroup was set in the callchain
+ somewhere).
+ */
};
/** Get and Set `internal' value