Crossfire Server, Branches 1.12  R18729
CREAnimationControl.h
Go to the documentation of this file.
1 #ifndef CREANIMATIONCONTROL_H
2 #define CREANIMATIONCONTROL_H
3 
4 #include <QObject>
5 #include <QtGui>
6 
7 extern "C" {
8 #include "global.h"
9 #include "face.h"
10 }
11 
12 class CREAnimationWidget;
13 
14 class CREAnimationControl : public QWidget
15 {
16  Q_OBJECT
17 
18  public:
19  CREAnimationControl(QWidget* parent);
20  void setAnimation(const Animations* animation);
21 
22  protected:
24  int myStep;
26  int myFacings;
27 
28  void display(const Animations* animation);
29  QList<CREAnimationWidget*> myWidgets;
30 
31  private slots:
32  void step();
33 };
34 
35 #endif // CREANIMATIONCONTROL_H
const Animations * myAnimation
void display(const Animations *animation)
CREAnimationControl(QWidget *parent)
QList< CREAnimationWidget * > myWidgets
void setAnimation(const Animations *animation)