Mercurial > hg > orthanc-stone
comparison Framework/Widgets/IWorldSceneInteractor.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 |
---|---|
44 KeyboardModifiers modifiers, | 44 KeyboardModifiers modifiers, |
45 int viewportX, | 45 int viewportX, |
46 int viewportY, | 46 int viewportY, |
47 double x, | 47 double x, |
48 double y, | 48 double y, |
49 IStatusBar* statusBar) = 0; | 49 IStatusBar* statusBar, |
50 const std::vector<Touch>& touches) = 0; | |
50 | 51 |
51 virtual void MouseOver(CairoContext& context, | 52 virtual void MouseOver(CairoContext& context, |
52 WorldSceneWidget& widget, | 53 WorldSceneWidget& widget, |
53 const ViewportGeometry& view, | 54 const ViewportGeometry& view, |
54 double x, | 55 double x, |