comparison Applications/Samples/SimpleViewer/MainWidgetInteractor.cpp @ 365:ef31240a73f6 am-2

no automatic call to moc and uic, CircleMeasureTracker using Orthanc fonts
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 31 Oct 2018 18:10:29 +0100
parents aad2f9293089
children face7b7008de
comparison
equal deleted inserted replaced
364:aad2f9293089 365:ef31240a73f6
40 { 40 {
41 return new LineMeasureTracker(statusBar, dynamic_cast<LayerWidget&>(widget).GetSlice(), x, y, 255, 0, 0, 10); 41 return new LineMeasureTracker(statusBar, dynamic_cast<LayerWidget&>(widget).GetSlice(), x, y, 255, 0, 0, 10);
42 } 42 }
43 else if (application_.GetCurrentTool() == SimpleViewerApplication::Tools_CircleMeasure) 43 else if (application_.GetCurrentTool() == SimpleViewerApplication::Tools_CircleMeasure)
44 { 44 {
45 return new CircleMeasureTracker(statusBar, dynamic_cast<LayerWidget&>(widget).GetSlice(), x, y, 255, 0, 0, 10); 45 return new CircleMeasureTracker(statusBar, dynamic_cast<LayerWidget&>(widget).GetSlice(),
46 x, y, 255, 0, 0, application_.GetFont());
46 } 47 }
47 else if (application_.GetCurrentTool() == SimpleViewerApplication::Tools_Crop) 48 else if (application_.GetCurrentTool() == SimpleViewerApplication::Tools_Crop)
48 { 49 {
49 // TODO 50 // TODO
50 } 51 }