comparison 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
comparison
equal deleted inserted replaced
855:41d22389a7d2 858:e3c56d4f863f
50 50
51 static const unsigned int FONT_SIZE_0 = 32; 51 static const unsigned int FONT_SIZE_0 = 32;
52 static const unsigned int FONT_SIZE_1 = 24; 52 static const unsigned int FONT_SIZE_1 = 24;
53 53
54 class Scene2D; 54 class Scene2D;
55 class UndoStack;
55 56
56 class TrackerSampleApp : public IObserver 57 class TrackerSampleApp : public IObserver
57 , public boost::enable_shared_from_this<TrackerSampleApp> 58 , public boost::enable_shared_from_this<TrackerSampleApp>
58 { 59 {
59 public: 60 public:
129 int LINESET_2_ZINDEX; 130 int LINESET_2_ZINDEX;
130 int FLOATING_INFOTEXT_LAYER_ZINDEX; 131 int FLOATING_INFOTEXT_LAYER_ZINDEX;
131 int FIXED_INFOTEXT_LAYER_ZINDEX; 132 int FIXED_INFOTEXT_LAYER_ZINDEX;
132 133
133 GuiTool currentTool_; 134 GuiTool currentTool_;
135 boost::shared_ptr<UndoStack> undoStack_;
134 }; 136 };
135 137
136 } 138 }