Mercurial > hg > orthanc-stone
comparison Framework/Widgets/TestWorldSceneWidget.h @ 726:4f2416d519b4
moving layers, widgets and loaders to Deprecated namespace
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 21 May 2019 11:43:25 +0200 |
parents | b70e9be013e4 |
children |
comparison
equal
deleted
inserted
replaced
714:d2c0e347ddc2 | 726:4f2416d519b4 |
---|---|
23 | 23 |
24 #include "WorldSceneWidget.h" | 24 #include "WorldSceneWidget.h" |
25 | 25 |
26 #include <memory> | 26 #include <memory> |
27 | 27 |
28 namespace OrthancStone | 28 namespace Deprecated |
29 { | 29 { |
30 namespace Samples | 30 namespace Samples |
31 { | 31 { |
32 class TestWorldSceneWidget : public WorldSceneWidget | 32 class TestWorldSceneWidget : public WorldSceneWidget |
33 { | 33 { |
37 std::auto_ptr<Interactor> interactor_; | 37 std::auto_ptr<Interactor> interactor_; |
38 bool animate_; | 38 bool animate_; |
39 unsigned int count_; | 39 unsigned int count_; |
40 | 40 |
41 protected: | 41 protected: |
42 virtual bool RenderScene(CairoContext& context, | 42 virtual bool RenderScene(OrthancStone::CairoContext& context, |
43 const ViewportGeometry& view); | 43 const ViewportGeometry& view); |
44 | 44 |
45 public: | 45 public: |
46 TestWorldSceneWidget(const std::string& name, bool animate); | 46 TestWorldSceneWidget(const std::string& name, bool animate); |
47 | 47 |
48 virtual Extent2D GetSceneExtent(); | 48 virtual OrthancStone::Extent2D GetSceneExtent(); |
49 | 49 |
50 virtual bool HasAnimation() const | 50 virtual bool HasAnimation() const |
51 { | 51 { |
52 return animate_; | 52 return animate_; |
53 } | 53 } |