Crossfire Server, Trunk
CREAnimationWidget Class Reference

#include <CREAnimationWidget.h>

+ Inheritance diagram for CREAnimationWidget:
+ Collaboration diagram for CREAnimationWidget:

Public Member Functions

 CREAnimationWidget (QWidget *parent)
 
void setAnimation (QList< int > faces)
 
void step ()
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *event)
 

Protected Attributes

QList< int > myFaces
 
int myStep
 

Detailed Description

Definition at line 7 of file CREAnimationWidget.h.

Constructor & Destructor Documentation

◆ CREAnimationWidget()

CREAnimationWidget::CREAnimationWidget ( QWidget *  parent)

Definition at line 6 of file CREAnimationWidget.cpp.

References myStep.

Member Function Documentation

◆ paintEvent()

void CREAnimationWidget::paintEvent ( QPaintEvent *  event)
protectedvirtual

Definition at line 31 of file CREAnimationWidget.cpp.

References CREPixmap::getIcon(), myFaces, and myStep.

+ Here is the call graph for this function:

◆ setAnimation()

void CREAnimationWidget::setAnimation ( QList< int >  faces)

Definition at line 13 of file CREAnimationWidget.cpp.

References dragon_attune::faces, myFaces, and myStep.

Referenced by CREArtifactPanel::artifactChanged().

+ Here is the caller graph for this function:

◆ step()

void CREAnimationWidget::step ( )

Definition at line 19 of file CREAnimationWidget.cpp.

References myFaces, and myStep.

Referenced by CREArtifactPanel::artifactChanged().

+ Here is the caller graph for this function:

Field Documentation

◆ myFaces

QList<int> CREAnimationWidget::myFaces
protected

Definition at line 20 of file CREAnimationWidget.h.

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

◆ myStep

int CREAnimationWidget::myStep
protected

Definition at line 19 of file CREAnimationWidget.h.

Referenced by CREAnimationWidget(), paintEvent(), setAnimation(), and step().


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