summaryrefslogtreecommitdiff
path: root/plugingui/timingframecontent.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2018-06-08 16:40:01 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2018-06-08 16:40:01 +0200
commit42003bd802d868182bf040e86f2cf2773b8ee851 (patch)
tree86c345b86d0d7567ee1301fb28f20bcc11e80f97 /plugingui/timingframecontent.h
parentc00110f801ae9de05a7f4c250918e4c05588b1d9 (diff)
Add reset on double click for all the knobs.
Diffstat (limited to 'plugingui/timingframecontent.h')
-rw-r--r--plugingui/timingframecontent.h9
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);