diff options
Diffstat (limited to 'plugingui/knob.h')
-rw-r--r-- | plugingui/knob.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugingui/knob.h b/plugingui/knob.h index 64d66e1..5710b78 100644 --- a/plugingui/knob.h +++ b/plugingui/knob.h @@ -44,6 +44,7 @@ public: bool isFocusable() override { return true; } void setValue(float value); + void setRange(float minimum, float maximum); float value(); Notifier<float> valueChangedNotifier; // (float newValue) @@ -69,7 +70,7 @@ private: state_t state; - float currentValue; + float current_value; float maximum; float minimum; |