Definition at line 141 of file CImageManager.hpp.
Exponent::GUI::Graphics::CImageManager::CAnimationReference::CAnimationReference | ( | ) |
Construction
Exponent::GUI::Graphics::CImageManager::CAnimationReference::CAnimationReference | ( | IImage * | image, | |
const CString & | referenceName, | |||
const long | frameHeight, | |||
const long | numberOfFrames | |||
) |
Construction
image | The image to store | |
referenceName | The name of the image | |
frameHeight | The size of each frame | |
numberOfFrames | The number of frames in the animation |
virtual Exponent::GUI::Graphics::CImageManager::CAnimationReference::~CAnimationReference | ( | ) | [virtual] |
Destruction
void Exponent::GUI::Graphics::CImageManager::CAnimationReference::getAnimationSizes | ( | long & | frameHeight, | |
long & | numberOfFrames | |||
) | [inline] |
Get the sizes of the animation
frameHeight | On return holds the size of each frame | |
numberOfFrames | On return holds the number of frames in the animation |
Definition at line 212 of file CImageManager.hpp.
References m_frameHeight, and m_numberOfFrames.
IImage* Exponent::GUI::Graphics::CImageManager::CAnimationReference::getImage | ( | ) | [inline] |
Get the image
IImage* | The image |
Definition at line 199 of file CImageManager.hpp.
References Exponent::GUI::Graphics::CImageManager::CImageReference::getImage(), and m_image.
const CString& Exponent::GUI::Graphics::CImageManager::CAnimationReference::getReferenceName | ( | ) | const [inline] |
Get teh reference name
const | CString& The name of the image |
Definition at line 205 of file CImageManager.hpp.
References Exponent::GUI::Graphics::CImageManager::CImageReference::getReferenceName(), and m_image.
void Exponent::GUI::Graphics::CImageManager::CAnimationReference::setAnimationSizes | ( | const long | frameHeight, | |
const long | numberOfFrames | |||
) | [inline] |
Set the sizes of the animation
frameHeight | The size of each frame | |
numberOfFrames | The number of frames in the animation |
Definition at line 191 of file CImageManager.hpp.
References m_frameHeight, and m_numberOfFrames.
void Exponent::GUI::Graphics::CImageManager::CAnimationReference::setImage | ( | IImage * | image | ) | [inline] |
Set the image
image | The image to store |
Definition at line 178 of file CImageManager.hpp.
References m_image, and Exponent::GUI::Graphics::CImageManager::CImageReference::setImage().
void Exponent::GUI::Graphics::CImageManager::CAnimationReference::setReferenceName | ( | const CString & | referenceName | ) | [inline] |
Set the reference name
referenceName | The name of the image |
Definition at line 184 of file CImageManager.hpp.
References m_image, and Exponent::GUI::Graphics::CImageManager::CImageReference::setReferenceName().
The height of each frame
Definition at line 221 of file CImageManager.hpp.
Referenced by getAnimationSizes(), and setAnimationSizes().
The image
Definition at line 220 of file CImageManager.hpp.
Referenced by getImage(), getReferenceName(), setImage(), and setReferenceName().
The total number of frames
Definition at line 222 of file CImageManager.hpp.
Referenced by getAnimationSizes(), and setAnimationSizes().