summaryrefslogtreecommitdiff
path: root/plugingui/knob.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/knob.h')
-rw-r--r--plugingui/knob.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugingui/knob.h b/plugingui/knob.h
index 5710b78..d8771d8 100644
--- a/plugingui/knob.h
+++ b/plugingui/knob.h
@@ -46,6 +46,7 @@ public:
void setValue(float value);
void setRange(float minimum, float maximum);
float value();
+ void showValue(bool show_value);
Notifier<float> valueChangedNotifier; // (float newValue)
@@ -74,6 +75,8 @@ private:
float maximum;
float minimum;
+ bool show_value{true};
+
Texture img_knob;
int mouse_offset_x;