Mercurial > hg > orthanc-stone
comparison Framework/Widgets/TestCairoWidget.cpp @ 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 |
---|---|
97 | 97 |
98 | 98 |
99 IMouseTracker* TestCairoWidget::CreateMouseTracker(MouseButton button, | 99 IMouseTracker* TestCairoWidget::CreateMouseTracker(MouseButton button, |
100 int x, | 100 int x, |
101 int y, | 101 int y, |
102 KeyboardModifiers modifiers) | 102 KeyboardModifiers modifiers, |
103 const std::vector<Touch>& touches) | |
103 { | 104 { |
104 UpdateStatusBar("Click"); | 105 UpdateStatusBar("Click"); |
105 return NULL; | 106 return NULL; |
106 } | 107 } |
107 | 108 |