diff -r b0d72eb511c9 -r 2a33304714ba animpoint.h --- a/animpoint.h Wed Apr 25 16:02:54 2007 +0000 +++ b/animpoint.h Tue Nov 17 08:24:59 2009 +0000 @@ -13,15 +13,24 @@ bool operator== ( AnimPoint ); void init(); void copy(AnimPoint other); + void setStart (const QPointF &); + QPointF getStart(); void setDest (const QPointF &); + QPointF getDest(); + void setTicks (const uint &t); + uint getTicks(); void setAnimated(bool); bool isAnimated (); - void animate(); + bool animate(); private: - QPointF currentPos; + void initVector(); + + QPointF startPos; QPointF destPos; + QPointF vector; qreal n; + qreal animTicks; bool animated; };