summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
authorSander Vocke <sandervocke@gmail.com>2024-07-25 09:09:35 +0200
committerSander Vocke <sandervocke@gmail.com>2024-07-25 11:06:32 +0200
commit624aafbc9cde2b9e83c7c278e44f19ab9e3bc9fc (patch)
treef6e2ef7329b32e4601326012221e0b5ce64a0367 /plugingui
parent019d478818950f7880d2c0f80d8fc8f963e9736b (diff)
Support curve maps in midi map file
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/powerwidget.cc1
-rw-r--r--plugingui/powerwidget.h4
2 files changed, 2 insertions, 3 deletions
diff --git a/plugingui/powerwidget.cc b/plugingui/powerwidget.cc
index 9be0c48..db37561 100644
--- a/plugingui/powerwidget.cc
+++ b/plugingui/powerwidget.cc
@@ -31,7 +31,6 @@
#include <notifier.h>
#include <settings.h>
-#include <powermap.h>
#include <hugin.hpp>
#include <cmath>
diff --git a/plugingui/powerwidget.h b/plugingui/powerwidget.h
index 3a7bb8e..3d09e6b 100644
--- a/plugingui/powerwidget.h
+++ b/plugingui/powerwidget.h
@@ -34,7 +34,7 @@
#include <dggui/label.h>
#include <dggui/font.h>
-#include <powermap.h>
+#include <curvemap.h>
struct Settings;
class SettingsNotifier;
@@ -75,7 +75,7 @@ private:
virtual void mouseLeaveEvent() override;
private:
- Powermap power_map;
+ CurveMap power_map;
void parameterChangedFloat(float);
void parameterChangedBool(bool);