Crossfire Server, Trunk
|
#include <CREAnimationControl.h>
Public Member Functions | |
CREAnimationControl (QWidget *parent) | |
void | setAnimation (const Animations *animation, int facings=-1) |
Protected Member Functions | |
void | display (const Animations *animation, int facings=-1) |
Protected Attributes | |
const Animations * | myAnimation |
int | myFacings |
int | myLastStep |
int | myStep |
QTimer * | myTimer |
QList< CREAnimationWidget * > | myWidgets |
Private Slots | |
void | step () |
Definition at line 14 of file CREAnimationControl.h.
CREAnimationControl::CREAnimationControl | ( | QWidget * | parent | ) |
Definition at line 7 of file CREAnimationControl.cpp.
References freearr_x, freearr_y, myAnimation, myLastStep, myStep, myTimer, myWidgets, and step().
|
protected |
Definition at line 37 of file CREAnimationControl.cpp.
References animations_struct::faces, dragon_attune::faces, animations_struct::facings, make_face_from_files::facings, myFacings, myWidgets, animations_struct::num_animations, and Face::number.
Referenced by setAnimation().
void CREAnimationControl::setAnimation | ( | const Animations * | animation, |
int | facings = -1 |
||
) |
Define the animation to display.
animation | what to display, must not be NULL. |
facings | if -1 then uses the facings of the animation, else number of facings to display. |
Definition at line 29 of file CREAnimationControl.cpp.
References display(), make_face_from_files::facings, myAnimation, and myTimer.
Referenced by CREArtifactPanel::artifactChanged(), and CREAnimationPanel::setItem().
|
privateslot |
Definition at line 82 of file CREAnimationControl.cpp.
References myAnimation, and myWidgets.
Referenced by CREAnimationControl().
|
protected |
Definition at line 29 of file CREAnimationControl.h.
Referenced by CREAnimationControl(), setAnimation(), and step().
|
protected |
Definition at line 32 of file CREAnimationControl.h.
Referenced by display().
|
protected |
Definition at line 31 of file CREAnimationControl.h.
Referenced by CREAnimationControl().
|
protected |
Definition at line 30 of file CREAnimationControl.h.
Referenced by CREAnimationControl().
|
protected |
Definition at line 36 of file CREAnimationControl.h.
Referenced by CREAnimationControl(), and setAnimation().
|
protected |
Definition at line 35 of file CREAnimationControl.h.
Referenced by CREAnimationControl(), display(), and step().