Mercurial > hg > orthanc-stone
diff Framework/Viewport/SdlViewport.h @ 1213:86a8266b8888 broker
moving the scene from IViewport to ViewportController
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 04 Dec 2019 17:54:10 +0100 |
parents | 6009c59d8676 |
children | 9efa66d8d3f8 |
line wrap: on
line diff
--- a/Framework/Viewport/SdlViewport.h Wed Dec 04 16:54:24 2019 +0100 +++ b/Framework/Viewport/SdlViewport.h Wed Dec 04 17:54:10 2019 +0100 @@ -108,7 +108,7 @@ virtual void Invalidate() ORTHANC_OVERRIDE; - virtual void Paint() ORTHANC_OVERRIDE; + virtual void Paint(const Scene2D& scene) ORTHANC_OVERRIDE; virtual ILock* Lock() ORTHANC_OVERRIDE { @@ -161,8 +161,6 @@ CairoCompositor compositor_; SDL_Surface* sdlSurface_; - void InvalidateInternal(); - void CreateSdlSurfaceFromCompositor(); public: @@ -175,7 +173,7 @@ virtual void Invalidate() ORTHANC_OVERRIDE; - virtual void Paint() ORTHANC_OVERRIDE; + virtual void Paint(const Scene2D& scene) ORTHANC_OVERRIDE; virtual ILock* Lock() ORTHANC_OVERRIDE {