Mercurial > hg > orthanc-stone
diff Framework/Radiography/RadiographyLayerResizeTracker.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 | a750f11892ec |
children | a95090305dd4 |
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyLayerResizeTracker.cpp Wed Jan 23 13:58:51 2019 +0100 +++ b/Framework/Radiography/RadiographyLayerResizeTracker.cpp Thu Jan 24 16:42:27 2019 +0100 @@ -159,7 +159,9 @@ void RadiographyLayerResizeTracker::MouseMove(int displayX, int displayY, double sceneX, - double sceneY) + double sceneY, + const std::vector<Touch>& displayTouches, + const std::vector<Touch>& sceneTouches) { static const double ROUND_SCALING = 0.1;