diff -r 000000000000 -r b0d72eb511c9 animpoint.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/animpoint.h Wed Apr 25 16:02:54 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