Mercurial > hg > orthanc-stone
comparison Framework/Scene2DViewport/ViewportController.h @ 942:685c9a2d115f
Added missing ORTHANC_OVERRIDE + preparation for lost GL context handling + stubs for GL context event handlers
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Mon, 05 Aug 2019 12:27:27 +0200 |
parents | a911f5bb48da |
children | ac88989817e3 |
comparison
equal
deleted
inserted
replaced
939:ab90628e70d9 | 942:685c9a2d115f |
---|---|
168 bool CanUndo() const; | 168 bool CanUndo() const; |
169 | 169 |
170 /** forwarded to the UndoStack */ | 170 /** forwarded to the UndoStack */ |
171 bool CanRedo() const; | 171 bool CanRedo() const; |
172 | 172 |
173 IViewport& GetViewport() | |
174 { | |
175 return viewport_; | |
176 } | |
177 | |
178 Scene2D& GetScene() | 173 Scene2D& GetScene() |
179 { | 174 { |
180 return viewport_.GetScene(); | 175 return viewport_.GetScene(); |
181 } | 176 } |
182 | 177 |