comparison Framework/Layers/CircleMeasureTracker.cpp @ 457:3b4df9925db6 am-touch-events

added support for 'touch' in mouse trackers. This is still a bit hacky and we need to refactor it to make it clean. Thanks to that, Pan and zoom are available together with 2 touches
author Alain Mazy <alain@mazy.be>
date Thu, 24 Jan 2019 16:42:27 +0100
parents b70e9be013e4
children 4f2416d519b4
comparison
equal deleted inserted replaced
456:b70fcc134ba4 457:3b4df9925db6
89 } 89 }
90 90
91 void CircleMeasureTracker::MouseMove(int displayX, 91 void CircleMeasureTracker::MouseMove(int displayX,
92 int displayY, 92 int displayY,
93 double x, 93 double x,
94 double y) 94 double y,
95 const std::vector<Touch>& displayTouches,
96 const std::vector<Touch>& sceneTouches)
95 { 97 {
96 x2_ = x; 98 x2_ = x;
97 y2_ = y; 99 y2_ = y;
98 100
99 if (statusBar_ != NULL) 101 if (statusBar_ != NULL)