summaryrefslogtreecommitdiffhomepage
path: root/spline-widget/spline.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-09-05 17:13:43 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-09-05 17:13:43 +0200
commit0b07159f32b28f775771ea37a4fa48fa94ef2d9e (patch)
tree003fb07103ec7c08e5416b9a8629cf0a8cafa8fc /spline-widget/spline.hpp
parentc587590ddb8a4f76a134018155588e2470992600 (diff)
spline-widget: add point count getter
Diffstat (limited to 'spline-widget/spline.hpp')
-rw-r--r--spline-widget/spline.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/spline-widget/spline.hpp b/spline-widget/spline.hpp
index 75a9e95e..299c7636 100644
--- a/spline-widget/spline.hpp
+++ b/spline-widget/spline.hpp
@@ -41,7 +41,7 @@ signals:
class OPENTRACK_SPLINE_EXPORT spline final
{
- int precision(const QList<QPointF>& points) const;
+ double precision(const QList<QPointF>& points) const;
void update_interp_data();
float getValueInternal(int x);
void add_lone_point();
@@ -98,4 +98,5 @@ public:
mem<const settings> get_settings() const;
using points_t = decltype(s->points.get());
+ int get_point_count() const;
};