diff -r 1973a58f3900 -r d0086df58648 animpoint.h --- a/animpoint.h Thu Apr 10 19:56:11 2008 +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; };