diff options
author | André Nusser <andre.nusser@googlemail.com> | 2018-06-08 16:40:01 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2018-06-08 16:40:01 +0200 |
commit | 42003bd802d868182bf040e86f2cf2773b8ee851 (patch) | |
tree | 86c345b86d0d7567ee1301fb28f20bcc11e80f97 /plugingui/timingframecontent.h | |
parent | c00110f801ae9de05a7f4c250918e4c05588b1d9 (diff) |
Add reset on double click for all the knobs.
Diffstat (limited to 'plugingui/timingframecontent.h')
-rw-r--r-- | plugingui/timingframecontent.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/plugingui/timingframecontent.h b/plugingui/timingframecontent.h index 6feeabe..dc2ad8b 100644 --- a/plugingui/timingframecontent.h +++ b/plugingui/timingframecontent.h @@ -28,15 +28,15 @@ #include "knob.h" #include "label.h" +#include "labeledcontrol.h" #include "layout.h" #include "widget.h" -#include "labeledcontrol.h" +#include <settings.h> #include <iomanip> #include <sstream> -struct Settings; class SettingsNotifier; namespace GUI @@ -51,6 +51,11 @@ public: SettingsNotifier& settings_notifier); private: + float thightnessKnobToSettings(float value); + float tightnessSettingsToKnob(float value); + float laidbackKnobToSettings(float value); + float laidbackSettingsToKnob(int int_value); + void tightnessKnobValueChanged(float value); void tightnessSettingsValueChanged(float value); void regainKnobValueChanged(float value); |