comparison Framework/Scene2DViewport/MeasureTool.h @ 1020:ac88989817e3 toa2019093001

TrackerCommand --> MeasureCommand + fuse against exception in MeasureTool dtor + added DeleteMeasureCommand + moved the various concrete measuring tool-related classes to their pre-assigned file locations (everything was crammed into MeasureCommands.* files up to this commit) + added double-click handler to GuiAdapter (for TOA implementation of "delete measuring tool on double-click")
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 30 Sep 2019 10:41:06 +0200
parents f557b18d287f
children e713f1a99861 2d8ab34c8c91
comparison
equal deleted inserted replaced
1019:29f5f2031310 1020:ac88989817e3
103 /** 103 /**
104 This function must reset the visual highlighted hot zone feedback 104 This function must reset the visual highlighted hot zone feedback
105 */ 105 */
106 virtual void ResetHighlightState() = 0; 106 virtual void ResetHighlightState() = 0;
107 107
108 /**
109 A description of the measuring tool, useful in debug logs
110 */
111 virtual std::string GetDescription() = 0;
112
108 protected: 113 protected:
109 MeasureTool(MessageBroker& broker, boost::weak_ptr<ViewportController> controllerW); 114 MeasureTool(MessageBroker& broker, boost::weak_ptr<ViewportController> controllerW);
110 115
111 /** 116 /**
112 The measuring tool may exist in a standalone fashion, without any available 117 The measuring tool may exist in a standalone fashion, without any available