1.1 --- a/mapobj.h Fri Dec 08 20:18:56 2006 +0000
1.2 +++ b/mapobj.h Mon Jul 23 12:42:01 2007 +0000
1.3 @@ -18,6 +18,9 @@
1.4 #define Z_ICON 80
1.5 #define Z_TEXT 100
1.6
1.7 +/*! \brief Base class for all objects visible on a map
1.8 +*/
1.9 +
1.10 class MapObj:public xmlObj {
1.11 public:
1.12 MapObj ();
1.13 @@ -44,6 +47,7 @@
1.14 virtual void setVisibility(bool);
1.15 virtual void positionBBox()=0;
1.16 virtual void calcBBoxSize()=0;
1.17 + virtual void animate(); // called by timer for animated objects
1.18 protected:
1.19 QGraphicsScene* scene;
1.20 QRectF bbox; // bounding box of MO itself