comparison Framework/Scene2DViewport/EditAngleMeasureTracker.cpp @ 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 0aff28f15ea2
children f6be9412e42a
comparison
equal deleted inserted replaced
1019:29f5f2031310 1020:ac88989817e3
17 * You should have received a copy of the GNU Affero General Public License 17 * You should have received a copy of the GNU Affero General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>. 18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 **/ 19 **/
20 20
21 #include "EditAngleMeasureTracker.h" 21 #include "EditAngleMeasureTracker.h"
22 #include "EditAngleMeasureCommand.h"
22 23
23 namespace OrthancStone 24 namespace OrthancStone
24 { 25 {
25 EditAngleMeasureTracker::EditAngleMeasureTracker( 26 EditAngleMeasureTracker::EditAngleMeasureTracker(
26 boost::shared_ptr<AngleMeasureTool> measureTool, 27 boost::shared_ptr<AngleMeasureTool> measureTool,