comparison Framework/Scene2DViewport/CreateLineMeasureTracker.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 e42b491f1fb2
comparison
equal deleted inserted replaced
721:af0aa0c149fa 722:28b9e3a54200
35 must be supplied, too 35 must be supplied, too
36 */ 36 */
37 CreateLineMeasureTracker( 37 CreateLineMeasureTracker(
38 MessageBroker& broker, 38 MessageBroker& broker,
39 ViewportControllerWPtr controllerW, 39 ViewportControllerWPtr controllerW,
40 std::vector<TrackerCommandPtr>& undoStack,
41 MeasureToolList& measureTools,
42 const PointerEvent& e); 40 const PointerEvent& e);
43 41
44 ~CreateLineMeasureTracker(); 42 ~CreateLineMeasureTracker();
45 43
46 virtual void PointerMove(const PointerEvent& e) ORTHANC_OVERRIDE; 44 virtual void PointerMove(const PointerEvent& e) ORTHANC_OVERRIDE;