Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/RotateSceneTracker.h @ 1305:a5326ce4f24b broker
Trackers and measuring tools now use the viewport instead of ViewportController, so that proper locks can be used
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 04 Mar 2020 09:45:38 +0100 |
parents | 2d8ab34c8c91 |
children | ab81ee8fce1f |
comparison
equal
deleted
inserted
replaced
1304:b7fa67bf87fa | 1305:a5326ce4f24b |
---|---|
28 namespace OrthancStone | 28 namespace OrthancStone |
29 { | 29 { |
30 class RotateSceneTracker : public OneGesturePointerTracker | 30 class RotateSceneTracker : public OneGesturePointerTracker |
31 { | 31 { |
32 public: | 32 public: |
33 RotateSceneTracker(boost::weak_ptr<ViewportController> controllerW, | 33 RotateSceneTracker(IViewport& viewport, |
34 const PointerEvent& event); | 34 const PointerEvent& event); |
35 | 35 |
36 virtual void PointerMove(const PointerEvent& event) ORTHANC_OVERRIDE; | 36 virtual void PointerMove(const PointerEvent& event) ORTHANC_OVERRIDE; |
37 virtual void Cancel() ORTHANC_OVERRIDE; | 37 virtual void Cancel() ORTHANC_OVERRIDE; |
38 | 38 |