Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Scene2DViewport/CreateAngleMeasureTracker.h @ 1972:9c0adcc8feec
refactoring to simplify OneGesturePointerTracker
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 28 Oct 2022 16:21:28 +0200 |
parents | 7053b8a0aaec |
children | 07964689cb0b |
comparison
equal
deleted
inserted
replaced
1971:e5b31d55206d | 1972:9c0adcc8feec |
---|---|
43 boost::weak_ptr<IViewport> viewport, | 43 boost::weak_ptr<IViewport> viewport, |
44 const PointerEvent& e); | 44 const PointerEvent& e); |
45 | 45 |
46 ~CreateAngleMeasureTracker(); | 46 ~CreateAngleMeasureTracker(); |
47 | 47 |
48 virtual void PointerMove(const PointerEvent& e) ORTHANC_OVERRIDE; | 48 virtual void PointerMove(const PointerEvent& e, |
49 virtual void PointerUp(const PointerEvent& e) ORTHANC_OVERRIDE; | 49 const Scene2D& scene) ORTHANC_OVERRIDE; |
50 virtual void PointerDown(const PointerEvent& e) ORTHANC_OVERRIDE; | 50 |
51 virtual void PointerUp(const PointerEvent& e, | |
52 const Scene2D& scene) ORTHANC_OVERRIDE; | |
53 | |
54 virtual void PointerDown(const PointerEvent& e, | |
55 const Scene2D& scene) ORTHANC_OVERRIDE; | |
51 | 56 |
52 private: | 57 private: |
53 boost::shared_ptr<CreateAngleMeasureCommand> GetCommand(); | 58 boost::shared_ptr<CreateAngleMeasureCommand> GetCommand(); |
54 | 59 |
55 enum State | 60 enum State |