Mercurial > hg > orthanc-stone
diff OrthancStone/Sources/Scene2DViewport/EditLineMeasureTracker.h @ 1571:85e117739eca
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 Sep 2020 17:46:39 +0200 |
parents | 244ad1e4e76a |
children | 8563ea5d8ae4 |
line wrap: on
line diff
--- a/OrthancStone/Sources/Scene2DViewport/EditLineMeasureTracker.h Mon Sep 21 14:50:26 2020 +0200 +++ b/OrthancStone/Sources/Scene2DViewport/EditLineMeasureTracker.h Mon Sep 21 17:46:39 2020 +0200 @@ -28,6 +28,11 @@ class EditLineMeasureTracker : public EditMeasureTracker { + private: + LineMeasureTool::LineHighlightArea modifiedZone_; + + boost::shared_ptr<EditLineMeasureCommand> GetCommand(); + public: /** When you create this tracker, you need to supply it with the undo stack @@ -38,18 +43,13 @@ */ EditLineMeasureTracker( boost::shared_ptr<MeasureTool> measureTool, - boost::shared_ptr<IViewport> viewport, - const PointerEvent& e); - - ~EditLineMeasureTracker(); + boost::shared_ptr<IViewport> viewport, + const PointerEvent& e); virtual void PointerMove(const PointerEvent& e) ORTHANC_OVERRIDE; + virtual void PointerUp(const PointerEvent& e) ORTHANC_OVERRIDE; + virtual void PointerDown(const PointerEvent& e) ORTHANC_OVERRIDE; - - private: - LineMeasureTool::LineHighlightArea modifiedZone_; - - boost::shared_ptr<EditLineMeasureCommand> GetCommand(); }; }