#ifndef MAPSCROLLER_H
#define MAPSCROLLER_H
-#include <QPoint>
#include <QVariantAnimation>
+#include "coordinates/scenecoordinate.h"
+
/**
* @brief Map scroller
*
* Used for kinetic and smooth scroll effects. Class implementation is following the singleton
* desing pattern.
*
+* Use QPointF datatype for startValue and endValue. Emitted datatype is SceneCoordinate.
+*
* @author Sami Rämö - sami.ramo@ixonos.com
*/
class MapScroller : public QVariantAnimation
*
* @param coordinate New coordinate value
*/
- void coordinateUpdated(QPoint coordinate);
+ void coordinateUpdated(SceneCoordinate coordinate);
};
#endif // MAPSCROLLER_H