Mercurial > hg > orthanc-stone
comparison Framework/Viewport/IViewport.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 | 6dd90b8d1589 |
comparison
equal
deleted
inserted
replaced
1054:3c9529edf5fd | 1055:af456106576c |
---|---|
40 | 40 |
41 virtual Scene2D& GetScene() = 0; | 41 virtual Scene2D& GetScene() = 0; |
42 | 42 |
43 virtual void Refresh() = 0; | 43 virtual void Refresh() = 0; |
44 | 44 |
45 // TODO - Is this needed at this level (e.g. for SDL)? | |
46 virtual const std::string& GetCanvasIdentifier() const = 0; | |
47 | |
48 virtual ScenePoint2D GetPixelCenterCoordinates(int x, int y) = 0; | 45 virtual ScenePoint2D GetPixelCenterCoordinates(int x, int y) = 0; |
49 | 46 |
50 virtual bool HasCompositor() const = 0; | 47 virtual bool HasCompositor() const = 0; |
51 | 48 |
52 virtual ICompositor& GetCompositor() = 0; | 49 virtual ICompositor& GetCompositor() = 0; |