summaryrefslogtreecommitdiffhomepage
path: root/spline-widget/spline.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-01-29 11:10:18 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-01-29 11:10:18 +0100
commitf53cc15b1209140519371940f97c696d6166b7b8 (patch)
tree1997823e8ead4a53fce0be51c59078cac6aa0aa1 /spline-widget/spline.hpp
parentd3e516636cc3e6397139dc961608f73408fa12fe (diff)
spline-widget/spline: all logic must take zoom into effect
Diffstat (limited to 'spline-widget/spline.hpp')
-rw-r--r--spline-widget/spline.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/spline-widget/spline.hpp b/spline-widget/spline.hpp
index ade7f69a..d9635397 100644
--- a/spline-widget/spline.hpp
+++ b/spline-widget/spline.hpp
@@ -49,6 +49,7 @@ class OPENTRACK_SPLINE_EXPORT spline final
static bool sort_fn(const QPointF& one, const QPointF& two);
static QPointF ensure_in_bounds(const QList<QPointF>& points, double max_x, int i);
+ static int element_count(const QList<QPointF>& points, double max_x);
mem<spline_detail::settings> s;
QMetaObject::Connection connection;