summaryrefslogtreecommitdiff
path: root/plugingui/knob.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-04-17 11:23:09 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-04-17 11:25:53 +0200
commitf505c622eda8cdd02da00742e794c9b940902a8d (patch)
tree2d194ad7c8f97ed0828178e86310ce6880a48b6d /plugingui/knob.h
parenta36b20f60a33b04ec69b65cfce0dd0059ff9e382 (diff)
Write knob value outside of the knob in the humanizer frame.
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;