comparison Framework/Widgets/TestCairoWidget.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 b70e9be013e4
children 4f2416d519b4
comparison
equal deleted inserted replaced
456:b70fcc134ba4 457:3b4df9925db6
49 unsigned int height); 49 unsigned int height);
50 50
51 virtual IMouseTracker* CreateMouseTracker(MouseButton button, 51 virtual IMouseTracker* CreateMouseTracker(MouseButton button,
52 int x, 52 int x,
53 int y, 53 int y,
54 KeyboardModifiers modifiers); 54 KeyboardModifiers modifiers,
55 const std::vector<Touch>& touches);
55 56
56 virtual void MouseWheel(MouseWheelDirection direction, 57 virtual void MouseWheel(MouseWheelDirection direction,
57 int x, 58 int x,
58 int y, 59 int y,
59 KeyboardModifiers modifiers); 60 KeyboardModifiers modifiers);