summaryrefslogtreecommitdiffhomepage
path: root/qfunctionconfigurator/qfunctionconfigurator.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-26 11:27:54 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-26 11:27:54 +0200
commitf4417361b0fd580855ec84d3c2159162c4426c43 (patch)
tree4faa9903e6e9b0e1a3ccb825405e19d85fcb6112 /qfunctionconfigurator/qfunctionconfigurator.h
parenta0d668b148177f597f286ce7dfe01d06e48f97eb (diff)
parent058f823f432484594a816b2489ea2edb2b56d5a4 (diff)
Merge branch 'unstable' into trackhat-ui
Diffstat (limited to 'qfunctionconfigurator/qfunctionconfigurator.h')
-rw-r--r--qfunctionconfigurator/qfunctionconfigurator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qfunctionconfigurator/qfunctionconfigurator.h b/qfunctionconfigurator/qfunctionconfigurator.h
index 5b75d84d..59c8ffeb 100644
--- a/qfunctionconfigurator/qfunctionconfigurator.h
+++ b/qfunctionconfigurator/qfunctionconfigurator.h
@@ -49,6 +49,7 @@ protected:
void resizeEvent(QResizeEvent *) override;
private:
void update_range();
+ static constexpr int point_closeness_limit = 12;
QPointF pixel_coord_to_point (const QPointF& point);
QPointF point_to_pixel (const QPointF& point);