Mercurial > hg > orthanc-stone
comparison Applications/Samples/SimpleViewer/MainWidgetInteractor.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 | 801d2697a1b1 |
comparison
equal
deleted
inserted
replaced
456:b70fcc134ba4 | 457:3b4df9925db6 |
---|---|
46 KeyboardModifiers modifiers, | 46 KeyboardModifiers modifiers, |
47 int viewportX, | 47 int viewportX, |
48 int viewportY, | 48 int viewportY, |
49 double x, | 49 double x, |
50 double y, | 50 double y, |
51 IStatusBar* statusBar); | 51 IStatusBar* statusBar, |
52 const std::vector<Touch>& displayTouches); | |
52 | 53 |
53 virtual void MouseOver(CairoContext& context, | 54 virtual void MouseOver(CairoContext& context, |
54 WorldSceneWidget& widget, | 55 WorldSceneWidget& widget, |
55 const ViewportGeometry& view, | 56 const ViewportGeometry& view, |
56 double x, | 57 double x, |