Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/RotateSceneTracker.h @ 860:238693c3bc51 am-dev
merge default -> am-dev
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Mon, 24 Jun 2019 14:35:00 +0200 |
parents | 266e2b0b9abc |
children | 2d8ab34c8c91 |
comparison
equal
deleted
inserted
replaced
856:a6e17a5a39e7 | 860:238693c3bc51 |
---|---|
21 | 21 |
22 #pragma once | 22 #pragma once |
23 | 23 |
24 #include "../Scene2DViewport/OneGesturePointerTracker.h" | 24 #include "../Scene2DViewport/OneGesturePointerTracker.h" |
25 #include "Internals/FixedPointAligner.h" | 25 #include "Internals/FixedPointAligner.h" |
26 #include <memory> | |
26 | 27 |
27 namespace OrthancStone | 28 namespace OrthancStone |
28 { | 29 { |
29 class ViewportController; | |
30 | |
31 class RotateSceneTracker : public OneGesturePointerTracker | 30 class RotateSceneTracker : public OneGesturePointerTracker |
32 { | 31 { |
33 public: | 32 public: |
34 RotateSceneTracker(ViewportControllerWPtr controllerW, | 33 RotateSceneTracker(boost::weak_ptr<ViewportController> controllerW, |
35 const PointerEvent& event); | 34 const PointerEvent& event); |
36 | 35 |
37 virtual void PointerMove(const PointerEvent& event) ORTHANC_OVERRIDE; | 36 virtual void PointerMove(const PointerEvent& event) ORTHANC_OVERRIDE; |
38 virtual void Cancel() ORTHANC_OVERRIDE; | 37 virtual void Cancel() ORTHANC_OVERRIDE; |
39 | 38 |