diff Framework/Widgets/LayerWidget.h @ 111:7665ccbf33db wasm

rename Extent as Extent2D
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 14 Jun 2017 15:54:06 +0200
parents 53025eecbc95
children 948f86e61e83
line wrap: on
line diff
--- a/Framework/Widgets/LayerWidget.h	Wed Jun 14 15:50:38 2017 +0200
+++ b/Framework/Widgets/LayerWidget.h	Wed Jun 14 15:54:06 2017 +0200
@@ -23,7 +23,7 @@
 
 #include "WorldSceneWidget.h"
 #include "../Layers/ILayerSource.h"
-#include "../Toolbox/Extent.h"
+#include "../Toolbox/Extent2D.h"
 
 #include <map>
 
@@ -50,7 +50,7 @@
     bool LookupLayer(size_t& index /* out */,
                      const ILayerSource& layer) const;
 
-    void GetLayerExtent(Extent& extent,
+    void GetLayerExtent(Extent2D& extent,
                         ILayerSource& source) const;
 
     virtual void NotifyGeometryReady(const ILayerSource& source);
@@ -70,7 +70,7 @@
     void ResetChangedLayers();
         
   protected:
-    virtual Extent GetSceneExtent();
+    virtual Extent2D GetSceneExtent();
  
     virtual bool RenderScene(CairoContext& context,
                              const ViewportGeometry& view);