diff -r b0d72eb511c9 -r c7b1178aec77 animpoint.h --- a/animpoint.h Wed Apr 25 16:02:54 2007 +0000 +++ b/animpoint.h Mon May 05 13:46:42 2008 +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; };