Crossfire Server, Branches 1.12  R18729
CREAnimationControl Class Reference

#include <CREAnimationControl.h>

+ Inheritance diagram for CREAnimationControl:
+ Collaboration diagram for CREAnimationControl:

Public Member Functions

 CREAnimationControl (QWidget *parent)
 
void setAnimation (const Animations *animation)
 

Protected Member Functions

void display (const Animations *animation)
 

Protected Attributes

const AnimationsmyAnimation
 
int myFacings
 
int myLastStep
 
int myStep
 
QList< CREAnimationWidget * > myWidgets
 

Private Slots

void step ()
 

Detailed Description

Definition at line 14 of file CREAnimationControl.h.

Constructor & Destructor Documentation

CREAnimationControl::CREAnimationControl ( QWidget *  parent)

Definition at line 6 of file CREAnimationControl.cpp.

References freearr_x, freearr_y, myAnimation, myLastStep, myStep, myWidgets, and step().

+ Here is the call graph for this function:

Member Function Documentation

void CREAnimationControl::display ( const Animations animation)
protected

Definition at line 35 of file CREAnimationControl.cpp.

References animations_struct::faces, animations_struct::facings, myFacings, myWidgets, and animations_struct::num_animations.

Referenced by setAnimation().

+ Here is the caller graph for this function:

void CREAnimationControl::setAnimation ( const Animations animation)

Definition at line 29 of file CREAnimationControl.cpp.

References display(), and myAnimation.

Referenced by CREAnimationPanel::setAnimation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CREAnimationControl::step ( )
privateslot

Definition at line 80 of file CREAnimationControl.cpp.

References myAnimation, and myWidgets.

Referenced by CREAnimationControl().

+ Here is the caller graph for this function:

Field Documentation

const Animations* CREAnimationControl::myAnimation
protected

Definition at line 23 of file CREAnimationControl.h.

Referenced by CREAnimationControl(), setAnimation(), and step().

int CREAnimationControl::myFacings
protected

Definition at line 26 of file CREAnimationControl.h.

Referenced by display().

int CREAnimationControl::myLastStep
protected

Definition at line 25 of file CREAnimationControl.h.

Referenced by CREAnimationControl().

int CREAnimationControl::myStep
protected

Definition at line 24 of file CREAnimationControl.h.

Referenced by CREAnimationControl().

QList<CREAnimationWidget*> CREAnimationControl::myWidgets
protected

Definition at line 29 of file CREAnimationControl.h.

Referenced by CREAnimationControl(), display(), and step().


The documentation for this class was generated from the following files: