Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/ZoomSceneTracker.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 | e42b491f1fb2 |
children | 2d8ab34c8c91 |
comparison
equal
deleted
inserted
replaced
856:a6e17a5a39e7 | 860:238693c3bc51 |
---|---|
25 #include "../Scene2DViewport/OneGesturePointerTracker.h" | 25 #include "../Scene2DViewport/OneGesturePointerTracker.h" |
26 #include "Internals/FixedPointAligner.h" | 26 #include "Internals/FixedPointAligner.h" |
27 | 27 |
28 namespace OrthancStone | 28 namespace OrthancStone |
29 { | 29 { |
30 class Scene2D; | |
31 | |
32 class ZoomSceneTracker : public OneGesturePointerTracker | 30 class ZoomSceneTracker : public OneGesturePointerTracker |
33 { | 31 { |
34 public: | 32 public: |
35 ZoomSceneTracker(ViewportControllerWPtr controllerW, | 33 ZoomSceneTracker(boost::weak_ptr<ViewportController> controllerW, |
36 const PointerEvent& event, | 34 const PointerEvent& event, |
37 unsigned int canvasHeight); | 35 unsigned int canvasHeight); |
38 | 36 |
39 virtual void PointerMove(const PointerEvent& event) ORTHANC_OVERRIDE; | 37 virtual void PointerMove(const PointerEvent& event) ORTHANC_OVERRIDE; |
40 virtual void Cancel() ORTHANC_OVERRIDE; | 38 virtual void Cancel() ORTHANC_OVERRIDE; |