comparison Applications/Samples/SingleFrameEditorApplication.h @ 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 a750f11892ec
children 3c28542229a3
comparison
equal deleted inserted replaced
456:b70fcc134ba4 457:3b4df9925db6
94 KeyboardModifiers modifiers, 94 KeyboardModifiers modifiers,
95 int viewportX, 95 int viewportX,
96 int viewportY, 96 int viewportY,
97 double x, 97 double x,
98 double y, 98 double y,
99 IStatusBar* statusBar) 99 IStatusBar* statusBar,
100 const std::vector<Touch>& displayTouches)
100 { 101 {
101 RadiographyWidget& widget = dynamic_cast<RadiographyWidget&>(worldWidget); 102 RadiographyWidget& widget = dynamic_cast<RadiographyWidget&>(worldWidget);
102 103
103 if (button == MouseButton_Left) 104 if (button == MouseButton_Left)
104 { 105 {