QTfrontend/bgwidget.h
changeset 2948 3f21a9dc93d0
parent 2377 f3fab2b09e0c
child 4976 088d40d8aba2
--- a/QTfrontend/bgwidget.h	Sat Mar 06 10:54:24 2010 +0000
+++ b/QTfrontend/bgwidget.h	Sat Mar 06 10:59:20 2010 +0000
@@ -34,42 +34,42 @@
 class SpritePosition
 {
 public:
-	SpritePosition(QWidget * parent, int sh);
-	~SpritePosition();
+    SpritePosition(QWidget * parent, int sh);
+    ~SpritePosition();
 private:
-	float fX;
-	float fY;
-	float fXMov;
-	float fYMov;
-	int iAngle;
-	QWidget * wParent;
-	int iSpriteHeight;
+    float fX;
+    float fY;
+    float fXMov;
+    float fYMov;
+    int iAngle;
+    QWidget * wParent;
+    int iSpriteHeight;
 public:
-	void move();
-	void reset();
-	QPoint pos();
-	int getAngle();
-	void init();
+    void move();
+    void reset();
+    QPoint pos();
+    int getAngle();
+    void init();
 };
 
 class BGWidget : public QWidget
 {
-	Q_OBJECT
+    Q_OBJECT
 public:
-	BGWidget(QWidget * parent);
-	~BGWidget();
-	void startAnimation();
-	void stopAnimation();
-	void init();
+    BGWidget(QWidget * parent);
+    ~BGWidget();
+    void startAnimation();
+    void stopAnimation();
+    void init();
 private:
-	QImage sprite;
-	QTimer * timerAnimation;
-	SpritePosition * spritePositions[SPRITE_MAX];
-	QImage * rotatedSprites[360];
+    QImage sprite;
+    QTimer * timerAnimation;
+    SpritePosition * spritePositions[SPRITE_MAX];
+    QImage * rotatedSprites[360];
 protected:
-	void paintEvent(QPaintEvent * event);
+    void paintEvent(QPaintEvent * event);
 private slots:
-	void animate();
+    void animate();
 };
 
 #endif // BGWIDGET_H