Mercurial > hg > orthanc-stone
comparison Framework/Widgets/LayoutWidget.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 |
---|---|
104 virtual bool Render(Orthanc::ImageAccessor& surface); | 104 virtual bool Render(Orthanc::ImageAccessor& surface); |
105 | 105 |
106 virtual IMouseTracker* CreateMouseTracker(MouseButton button, | 106 virtual IMouseTracker* CreateMouseTracker(MouseButton button, |
107 int x, | 107 int x, |
108 int y, | 108 int y, |
109 KeyboardModifiers modifiers); | 109 KeyboardModifiers modifiers, |
110 const std::vector<Touch>& touches); | |
110 | 111 |
111 virtual void RenderMouseOver(Orthanc::ImageAccessor& target, | 112 virtual void RenderMouseOver(Orthanc::ImageAccessor& target, |
112 int x, | 113 int x, |
113 int y); | 114 int y); |
114 | 115 |