summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/controllable.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pbd/controllable.h')
-rw-r--r--libs/pbd/pbd/controllable.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/pbd/pbd/controllable.h b/libs/pbd/pbd/controllable.h
index 9fa374ebc6..6d37464419 100644
--- a/libs/pbd/pbd/controllable.h
+++ b/libs/pbd/pbd/controllable.h
@@ -54,13 +54,17 @@ class Controllable : public PBD::StatefulDestructible {
int set_state (const XMLNode&);
XMLNode& get_state ();
- std::string name() const { return _name; }
+ std::string name() const { return _name; }
+ bool touching () const { return _touching; }
+
+ void set_touching (bool yn) { _touching = yn; }
static Controllable* by_id (const PBD::ID&);
static Controllable* by_name (const std::string&);
private:
std::string _name;
+ bool _touching;
void add ();
void remove ();