summaryrefslogtreecommitdiffstats
path: root/src/curveeditor/curveeditormodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/curveeditor/curveeditormodel.h')
-rw-r--r--src/curveeditor/curveeditormodel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/curveeditor/curveeditormodel.h b/src/curveeditor/curveeditormodel.h
index 883d928..351aa73 100644
--- a/src/curveeditor/curveeditormodel.h
+++ b/src/curveeditor/curveeditormodel.h
@@ -33,6 +33,8 @@ class QPointF;
namespace DesignTools {
+class AnimationCurve;
+
class CurveEditorModel
{
public:
@@ -44,7 +46,7 @@ public:
virtual double maximumValue() const = 0;
- virtual std::vector<QPointF> curve(int i) const = 0;
+ virtual AnimationCurve curve(int i) const = 0;
virtual CurveEditorStyle style() const { return CurveEditorStyle(); }
};