summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-12-14 15:00:34 +0100
committerRobin Gareus <robin@gareus.org>2019-12-14 15:50:56 +0100
commit93180ceea90e597828ea7473b8e181950df66427 (patch)
tree4483b690c88eeed7051dea06792b278b9943d059 /libs/pbd
parentd4ad9e348698de3fe2e7b34fef60a6e6d788ea6d (diff)
Add Inline Control Port Property
This allows to indicate that a control should by default be displayed inline in the mixer-strip. Previously that was hard-coded for and enabled for send-level controls only.
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/pbd/controllable.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libs/pbd/pbd/controllable.h b/libs/pbd/pbd/controllable.h
index a83a42bcb3..3d5dd5fc65 100644
--- a/libs/pbd/pbd/controllable.h
+++ b/libs/pbd/pbd/controllable.h
@@ -73,10 +73,11 @@ class LIBPBD_API Controllable : public PBD::StatefulDestructible, public boost::
{
public:
enum Flag {
- Toggle = 0x1,
- GainLike = 0x2,
- RealTime = 0x4,
- NotAutomatable = 0x8,
+ Toggle = 0x01,
+ GainLike = 0x02,
+ RealTime = 0x04,
+ NotAutomatable = 0x08,
+ InlineControl = 0x10,
};
Controllable (const std::string& name, Flag f = Flag (0));