Mercurial > hg > orthanc-stone
diff Framework/Scene2DViewport/MeasureTrackers.h @ 722:28b9e3a54200
Undo mechanism implemented (not connected to UI yet). Undo stack and measuring
tools are now handled by the ViewportController. Multi-touch does not crash
trackers anymore.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 21 May 2019 10:27:54 +0200 |
parents | 059e1fd05fd6 |
children | c0fcb2757b0a |
line wrap: on
line diff
--- a/Framework/Scene2DViewport/MeasureTrackers.h Mon May 20 12:49:29 2019 +0200 +++ b/Framework/Scene2DViewport/MeasureTrackers.h Tue May 21 10:27:54 2019 +0200 @@ -37,10 +37,7 @@ virtual void Cancel() ORTHANC_OVERRIDE; virtual bool IsAlive() const ORTHANC_OVERRIDE; protected: - CreateMeasureTracker( - ViewportControllerWPtr controllerW, - std::vector<TrackerCommandPtr>& undoStack, - std::vector<MeasureToolPtr>& measureTools); + CreateMeasureTracker(ViewportControllerWPtr controllerW); ~CreateMeasureTracker(); @@ -51,8 +48,6 @@ Scene2DPtr GetScene(); private: - std::vector<TrackerCommandPtr>& undoStack_; - std::vector<MeasureToolPtr>& measureTools_; bool commitResult_; }; }