diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-04-17 11:23:09 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-04-17 11:25:53 +0200 |
commit | f505c622eda8cdd02da00742e794c9b940902a8d (patch) | |
tree | 2d194ad7c8f97ed0828178e86310ce6880a48b6d /plugingui/knob.h | |
parent | a36b20f60a33b04ec69b65cfce0dd0059ff9e382 (diff) |
Write knob value outside of the knob in the humanizer frame.
Diffstat (limited to 'plugingui/knob.h')
-rw-r--r-- | plugingui/knob.h | 3 |
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; |