summaryrefslogtreecommitdiffhomepage
path: root/tracker-easy/frame.cpp
diff options
context:
space:
mode:
authorStéphane Lenclud <github@lenclud.com>2019-04-12 23:42:43 +0200
committerStéphane Lenclud <github@lenclud.com>2019-04-24 18:46:12 +0200
commit3e36ce6985399c74676d46beef73a282eacf4109 (patch)
treef3604bb22670bd0496bf756f9aaa66449e6888d5 /tracker-easy/frame.cpp
parent7e357fcb6c143a61c4f87ffda502f8be021674f0 (diff)
Easy Tracker: Renaming coordinates utility class.
Diffstat (limited to 'tracker-easy/frame.cpp')
-rw-r--r--tracker-easy/frame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-easy/frame.cpp b/tracker-easy/frame.cpp
index b066e13b..9243c6a1 100644
--- a/tracker-easy/frame.cpp
+++ b/tracker-easy/frame.cpp
@@ -50,9 +50,9 @@ QImage Preview::get_bitmap()
QImage::Format_ARGB32);
}
-void Preview::draw_head_center(pt_pixel_pos_mixin::f x, pt_pixel_pos_mixin::f y)
+void Preview::draw_head_center(Coordinates::f x, Coordinates::f y)
{
- auto [px_, py_] = pt_pixel_pos_mixin::to_pixel_pos(x, y, frame_copy.cols, frame_copy.rows);
+ auto [px_, py_] = Coordinates::to_pixel_pos(x, y, frame_copy.cols, frame_copy.rows);
int px = iround(px_), py = iround(py_);