X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=animpoint.h;fp=animpoint.h;h=0000000000000000000000000000000000000000;hb=d483bd8e6523c23c6f1d8908a2e0611c2bc9ff4f;hp=a7c64350cfeef326ffc632f3c13f37626f8b6e52;hpb=7dfa3fe589d1722d49681f42cdb0bf1e6efb5223;p=sven%2Fvym.git diff --git a/animpoint.h b/animpoint.h deleted file mode 100644 index a7c6435..0000000 --- a/animpoint.h +++ /dev/null @@ -1,39 +0,0 @@ -#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 setStart (const QPointF &); - QPointF getStart(); - void setDest (const QPointF &); - QPointF getDest(); - void setTicks (const uint &t); - uint getTicks(); - void setAnimated(bool); - bool isAnimated (); - bool animate(); - void stop(); - -private: - void initVector(); - - QPointF startPos; - QPointF destPos; - QPointF vector; - qreal n; - uint animTicks; - bool animated; - -}; - -#endif