diff options
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); |