Mercurial > hg > orthanc-stone
diff Samples/Sdl/TrackerSampleApp.h @ 858:e3c56d4f863f
GuiAdapter : mouse event routing in SDL + split the undo stack from the
ViewportController for multi-canvas apps + adapted the samples to this change
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Mon, 24 Jun 2019 10:31:04 +0200 |
parents | e42b491f1fb2 |
children | 0aff28f15ea2 |
line wrap: on
line diff
--- a/Samples/Sdl/TrackerSampleApp.h Wed Jun 19 14:12:28 2019 +0200 +++ b/Samples/Sdl/TrackerSampleApp.h Mon Jun 24 10:31:04 2019 +0200 @@ -52,6 +52,7 @@ static const unsigned int FONT_SIZE_1 = 24; class Scene2D; + class UndoStack; class TrackerSampleApp : public IObserver , public boost::enable_shared_from_this<TrackerSampleApp> @@ -131,6 +132,7 @@ int FIXED_INFOTEXT_LAYER_ZINDEX; GuiTool currentTool_; + boost::shared_ptr<UndoStack> undoStack_; }; }