diff Framework/Viewport/IViewport.h @ 1071:6dd90b8d1589

Fixes related to refactorings in viewports.
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 15 Oct 2019 14:30:19 +0200
parents af456106576c
children 5e164c629923 2d8ab34c8c91
line wrap: on
line diff
--- a/Framework/Viewport/IViewport.h	Tue Oct 15 10:54:53 2019 +0200
+++ b/Framework/Viewport/IViewport.h	Tue Oct 15 14:30:19 2019 +0200
@@ -42,10 +42,13 @@
 
     virtual void Refresh() = 0;
 
-    virtual ScenePoint2D GetPixelCenterCoordinates(int x, int y) = 0;
+    virtual ScenePoint2D GetPixelCenterCoordinates(int x, int y) const = 0;
 
     virtual bool HasCompositor() const = 0;
 
     virtual ICompositor& GetCompositor() = 0;
+
+    virtual const ICompositor& GetCompositor() const = 0;
   };
 }
+