Mercurial > hg > orthanc-stone
comparison Framework/Scene2DViewport/MeasureTool.h @ 891:0aff28f15ea2
new abstraction: IViewport
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 10 Jul 2019 18:18:42 +0200 |
parents | c71ef52602a0 |
children | f557b18d287f |
comparison
equal
deleted
inserted
replaced
890:77c96ba899f9 | 891:0aff28f15ea2 |
---|---|
123 virtual void RefreshScene() = 0; | 123 virtual void RefreshScene() = 0; |
124 | 124 |
125 boost::shared_ptr<const ViewportController> GetController() const; | 125 boost::shared_ptr<const ViewportController> GetController() const; |
126 boost::shared_ptr<ViewportController> GetController(); | 126 boost::shared_ptr<ViewportController> GetController(); |
127 | 127 |
128 boost::shared_ptr<const Scene2D> GetScene() const; | |
129 boost::shared_ptr<Scene2D> GetScene(); | |
130 | |
131 /** | 128 /** |
132 enabled_ is not accessible by subclasses because there is a state machine | 129 enabled_ is not accessible by subclasses because there is a state machine |
133 that we do not wanna mess with | 130 that we do not wanna mess with |
134 */ | 131 */ |
135 bool IsEnabled() const; | 132 bool IsEnabled() const; |