comparison Framework/Layers/LineMeasureTracker.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
85 } 85 }
86 86
87 void LineMeasureTracker::MouseMove(int displayX, 87 void LineMeasureTracker::MouseMove(int displayX,
88 int displayY, 88 int displayY,
89 double x, 89 double x,
90 double y) 90 double y,
91 const std::vector<Touch>& displayTouches,
92 const std::vector<Touch>& sceneTouches)
91 { 93 {
92 x2_ = x; 94 x2_ = x;
93 y2_ = y; 95 y2_ = y;
94 96
95 if (statusBar_ != NULL) 97 if (statusBar_ != NULL)