diff options
Diffstat (limited to 'plugingui/knob.h')
-rw-r--r-- | plugingui/knob.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/knob.h b/plugingui/knob.h index d8771d8..fc71511 100644 --- a/plugingui/knob.h +++ b/plugingui/knob.h @@ -44,6 +44,7 @@ public: bool isFocusable() override { return true; } void setValue(float value); + void setDefaultValue(float value); void setRange(float minimum, float maximum); float value(); void showValue(bool show_value); @@ -72,6 +73,7 @@ private: state_t state; float current_value; + float default_value = 0.0; float maximum; float minimum; |