diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-04-06 16:57:35 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-04-06 16:57:35 +0000 |
commit | e69aca28426dd17a0f82ea01c7c98e217b4fdcc3 (patch) | |
tree | 32854686f9de3cd61f07a5e801886b0f2d5a7012 /libs/pbd/pbd/controllable.h | |
parent | 3a7487d3fa6887c846bc02d2764e376f7f209a03 (diff) |
MIDI/Controllables for monitor section, and related fixes
git-svn-id: svn://localhost/ardour2/branches/3.0@6863 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/controllable.h')
-rw-r--r-- | libs/pbd/pbd/controllable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/pbd/pbd/controllable.h b/libs/pbd/pbd/controllable.h index f8d8f82855..9f5ed5251b 100644 --- a/libs/pbd/pbd/controllable.h +++ b/libs/pbd/pbd/controllable.h @@ -72,6 +72,9 @@ class Controllable : public PBD::StatefulDestructible { bool is_gain_like() const { return _flags & GainLike; } bool is_integral_only() const { return _flags & IntegerOnly; } + virtual float lower() const { return 0.0f; } + virtual float upper() const { return 1.0f; } + Flag flags() const { return _flags; } void set_flags (Flag f); |