Mercurial > hg > orthanc-stone
comparison Framework/Scene2DViewport/ViewportController.h @ 1029:0f100d0b9caf
merge
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 04 Oct 2019 21:58:30 +0200 |
parents | ac88989817e3 |
children | e713f1a99861 2d8ab34c8c91 |
comparison
equal
deleted
inserted
replaced
1028:6d5382fa45e1 | 1029:0f100d0b9caf |
---|---|
82 | 82 |
83 ViewportController(boost::weak_ptr<UndoStack> undoStackW, | 83 ViewportController(boost::weak_ptr<UndoStack> undoStackW, |
84 MessageBroker& broker, | 84 MessageBroker& broker, |
85 IViewport& viewport); | 85 IViewport& viewport); |
86 | 86 |
87 | |
88 ~ViewportController(); | |
89 | |
87 /** | 90 /** |
88 This method is called by the GUI system and should update/delete the | 91 This method is called by the GUI system and should update/delete the |
89 current tracker | 92 current tracker |
90 */ | 93 */ |
91 bool HandlePointerEvent(PointerEvent e); | 94 bool HandlePointerEvent(PointerEvent e); |
154 */ | 157 */ |
155 double GetAngleTopTextLabelDistanceS() const; | 158 double GetAngleTopTextLabelDistanceS() const; |
156 | 159 |
157 | 160 |
158 /** forwarded to the UndoStack */ | 161 /** forwarded to the UndoStack */ |
159 void PushCommand(boost::shared_ptr<TrackerCommand> command); | 162 void PushCommand(boost::shared_ptr<MeasureCommand> command); |
160 | 163 |
161 /** forwarded to the UndoStack */ | 164 /** forwarded to the UndoStack */ |
162 void Undo(); | 165 void Undo(); |
163 | 166 |
164 /** forwarded to the UndoStack */ | 167 /** forwarded to the UndoStack */ |