diff -r 000000000000 -r 22955004d512 animpoint.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/animpoint.h Fri Nov 09 12:07:22 2007 +0000 @@ -0,0 +1,29 @@ +#ifndef ANIMPOINT_H +#define ANIMPOINT_H + +#include + +class AnimPoint: public QPointF +{ +public: + AnimPoint(); + void operator= ( const AnimPoint & ); + void operator= ( const QPointF & ); + bool operator== ( const QPointF & ); + bool operator== ( AnimPoint ); + void init(); + void copy(AnimPoint other); + void setDest (const QPointF &); + void setAnimated(bool); + bool isAnimated (); + void animate(); + +private: + QPointF currentPos; + QPointF destPos; + qreal n; + bool animated; + +}; + +#endif