diff options
author | Stéphane Lenclud <github@lenclud.com> | 2019-04-12 23:42:43 +0200 |
---|---|---|
committer | Stéphane Lenclud <github@lenclud.com> | 2019-04-12 23:42:43 +0200 |
commit | 9c40d1724bb2d564a734f6be7d6d91e7c5be64f7 (patch) | |
tree | 3aec914008aae3a880aa451af87e5d92e53e2b98 /tracker-easy/frame.cpp | |
parent | 47fcfa087fa7244c2f12af67dee83d16a6d44775 (diff) |
Easy Tracker: Renaming coordinates utility class.
Diffstat (limited to 'tracker-easy/frame.cpp')
-rw-r--r-- | tracker-easy/frame.cpp | 4 |
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_); |