comparison Framework/Widgets/EmptyWidget.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
74 virtual bool Render(Orthanc::ImageAccessor& surface); 74 virtual bool Render(Orthanc::ImageAccessor& surface);
75 75
76 virtual IMouseTracker* CreateMouseTracker(MouseButton button, 76 virtual IMouseTracker* CreateMouseTracker(MouseButton button,
77 int x, 77 int x,
78 int y, 78 int y,
79 KeyboardModifiers modifiers) 79 KeyboardModifiers modifiers,
80 const std::vector<Touch>& touches)
80 { 81 {
81 return NULL; 82 return NULL;
82 } 83 }
83 84
84 virtual void RenderMouseOver(Orthanc::ImageAccessor& target, 85 virtual void RenderMouseOver(Orthanc::ImageAccessor& target,