![]() |
Crossfire Resources Editor
|
Widget displaying all directions of an animation. More...
#include <AnimationControl.h>
Inheritance diagram for AnimationControl:
Collaboration diagram for AnimationControl:Public Member Functions | |
| AnimationControl (QWidget *parent) | |
| void | setAnimation (const Animations *animation, int facings=-1) |
| Define the animation to display. More... | |
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< AnimationWidget * > | myWidgets |
Private Slots | |
| void | step () |
Widget displaying all directions of an animation.
Definition at line 27 of file AnimationControl.h.
| AnimationControl::AnimationControl | ( | QWidget * | parent | ) |
Definition at line 19 of file AnimationControl.cpp.
References myAnimation, myLastStep, myStep, myTimer, myWidgets, and step().
Here is the call graph for this function:
|
protected |
Definition at line 49 of file AnimationControl.cpp.
References myFacings, and myWidgets.
Referenced by setAnimation().
Here is the caller graph for this function:| void AnimationControl::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 41 of file AnimationControl.cpp.
References display(), myAnimation, and myTimer.
Referenced by ArtifactPanel::artifactChanged(), and AnimationPanel::updateItem().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 94 of file AnimationControl.cpp.
References myAnimation, and myWidgets.
Referenced by AnimationControl().
Here is the caller graph for this function:
|
protected |
Definition at line 41 of file AnimationControl.h.
Referenced by AnimationControl(), setAnimation(), and step().
|
protected |
Definition at line 44 of file AnimationControl.h.
Referenced by display().
|
protected |
Definition at line 43 of file AnimationControl.h.
Referenced by AnimationControl().
|
protected |
Definition at line 42 of file AnimationControl.h.
Referenced by AnimationControl().
|
protected |
Definition at line 48 of file AnimationControl.h.
Referenced by AnimationControl(), and setAnimation().
|
protected |
Definition at line 47 of file AnimationControl.h.
Referenced by AnimationControl(), display(), and step().