From 9c40d1724bb2d564a734f6be7d6d91e7c5be64f7 Mon Sep 17 00:00:00 2001 From: Stéphane Lenclud Date: Fri, 12 Apr 2019 23:42:43 +0200 Subject: Easy Tracker: Renaming coordinates utility class. --- tracker-easy/frame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tracker-easy/frame.cpp') 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_); -- cgit v1.2.3