diff Framework/Widgets/WorldSceneWidget.h @ 58:468c48eaa01c wasm

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 03 May 2017 17:35:52 +0200
parents f0f354a97581
children d2adc6189a95
line wrap: on
line diff
--- a/Framework/Widgets/WorldSceneWidget.h	Wed May 03 14:45:21 2017 +0200
+++ b/Framework/Widgets/WorldSceneWidget.h	Wed May 03 17:35:52 2017 +0200
@@ -61,6 +61,11 @@
 
 
   protected:
+    virtual void GetSceneExtent(double& x1,
+                                double& y1,
+                                double& x2,
+                                double& y2) = 0;
+    
     virtual bool RenderScene(CairoContext& context,
                              const ViewportGeometry& view) = 0;
 
@@ -96,11 +101,6 @@
       return SliceGeometry();
     }
 
-    virtual void GetSceneExtent(double& x1,
-                                double& y1,
-                                double& x2,
-                                double& y2) = 0;
-
     virtual void SetSize(unsigned int width,
                          unsigned int height);