Mercurial > hg > orthanc-stone
comparison Framework/Scene2DViewport/EditLineMeasureTracker.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 "EditLineMeasureTracker.h" | 21 #include "EditLineMeasureTracker.h" |
22 #include "EditLineMeasureCommand.h" | |
23 | |
22 | 24 |
23 namespace OrthancStone | 25 namespace OrthancStone |
24 { | 26 { |
25 EditLineMeasureTracker::EditLineMeasureTracker( | 27 EditLineMeasureTracker::EditLineMeasureTracker( |
26 boost::shared_ptr<LineMeasureTool> measureTool, | 28 boost::shared_ptr<LineMeasureTool> measureTool, |