Re-factored the source to use the new coordinate classes
[situare] / src / map / mapscene.h
index 41144c3..6ee3d1f 100644 (file)
@@ -26,6 +26,8 @@
 
 #include "maptile.h"
 
+class SceneCoordinate;
+
 /**
 * @brief Map scene for storing MapTile items
 *
@@ -150,7 +152,7 @@ public:
       * @param sceneCoordinate Scene coordinates of the current center point
       * @param viewSize Current size of the view
       */
-    void spanItems(int zoomLevel, QPoint sceneCoordinate, QSize viewSize);
+    void spanItems(int zoomLevel, SceneCoordinate sceneCoordinate, QSize viewSize);
 
     /**
     * @brief Save new tiles scene rect