Crossfire Server, Trunk
|
#include <AnimationWidget.h>
Public Member Functions | |
AnimationWidget (QWidget *parent) | |
void | setAnimation (QList< int > faces) |
void | step () |
Protected Member Functions | |
virtual void | paintEvent (QPaintEvent *event) |
Protected Attributes | |
QList< int > | myFaces |
int | myStep |
Display and play an animation in a single direction.
Definition at line 22 of file AnimationWidget.h.
AnimationWidget::AnimationWidget | ( | QWidget * | parent | ) |
Definition at line 18 of file AnimationWidget.cpp.
References myStep.
|
protectedvirtual |
Definition at line 43 of file AnimationWidget.cpp.
References CREPixmap::getIcon(), myFaces, and myStep.
void AnimationWidget::setAnimation | ( | QList< int > | faces | ) |
Definition at line 25 of file AnimationWidget.cpp.
References dragon_attune::faces, myFaces, and myStep.
Referenced by ArtifactPanel::artifactChanged().
void AnimationWidget::step | ( | ) |
Definition at line 31 of file AnimationWidget.cpp.
References myFaces, and myStep.
Referenced by ArtifactPanel::artifactChanged().
|
protected |
Definition at line 34 of file AnimationWidget.h.
Referenced by paintEvent(), setAnimation(), and step().
|
protected |
Definition at line 33 of file AnimationWidget.h.
Referenced by AnimationWidget(), paintEvent(), setAnimation(), and step().