Mercurial > hg > orthanc-stone
comparison Framework/Viewport/SdlViewport.h @ 1055:af456106576c
moving GetCanvasIdentifier from IViewport to WebAssemblyViewport
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 10 Oct 2019 16:07:58 +0200 |
parents | 32b403a47b19 |
children | f3bb9a6dd949 2d8ab34c8c91 |
comparison
equal
deleted
inserted
replaced
1054:3c9529edf5fd | 1055:af456106576c |
---|---|
44 namespace OrthancStone | 44 namespace OrthancStone |
45 { | 45 { |
46 class SdlViewport : public ViewportBase | 46 class SdlViewport : public ViewportBase |
47 { | 47 { |
48 public: | 48 public: |
49 SdlViewport(const std::string& identifier) | 49 SdlViewport() |
50 : ViewportBase(identifier) | |
51 { | 50 { |
52 } | 51 } |
53 | 52 |
54 SdlViewport(const std::string& identifier, | 53 SdlViewport(boost::shared_ptr<Scene2D>& scene) : |
55 boost::shared_ptr<Scene2D>& scene) | 54 ViewportBase(scene) |
56 : ViewportBase(identifier, scene) | |
57 { | 55 { |
58 } | 56 } |
59 | 57 |
60 virtual SdlWindow& GetWindow() = 0; | 58 virtual SdlWindow& GetWindow() = 0; |
61 | 59 |