Torque3D Documentation / _generateds / guiAnimBitmapCtrl

guiAnimBitmapCtrl

Engine/source/gui/controls/guiAnimBitmapCtrl.h

More...

Public Types

Protected Static Functions

bool
ptSetFrame(void * object, const char * index, const char * data)
bool
ptSetFrameRanges(void * object, const char * index, const char * data)

Public Functions

DECLARE_CALLBACK(void , onCompleted , () )
DECLARE_CALLBACK(void , onFrame , (S32 frameIndex, S32 frame) )
DECLARE_CALLBACK(void , onLoop , () )
DECLARE_CATEGORY("Gui Images" )
DECLARE_DESCRIPTION("A <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> that clips <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> bitmap based on %." )
bool

Called when this object is added to the scene.

onRender(Point2I offset, const RectI & updateRect)

Called when this control is to render itself.

Public Static Functions

Detailed Description

Public Types

typedef GuiBitmapCtrl Parent 

Protected Attributes

bool mAnimateTexture 
Vector< S32 > mAnimTexFrames 

frames to use (internal)

StringTableEntry mAnimTexFramesString 

frames to use

Point2I mAnimTexTiling 

max frames (x,y)

S32 mCurFrameIndex 
bool mFinished 
S32 mFramesPerSec 
PlatformTimer * mFrameTime 
bool mLoop 
U32 mNumFrames 
bool mPlay 
bool mReverse 

Protected Static Functions

ptSetFrame(void * object, const char * index, const char * data)

ptSetFrameRanges(void * object, const char * index, const char * data)

Public Functions

guiAnimBitmapCtrl()

~guiAnimBitmapCtrl()

DECLARE_CALLBACK(void , onCompleted , () )

DECLARE_CALLBACK(void , onFrame , (S32 frameIndex, S32 frame) )

DECLARE_CALLBACK(void , onLoop , () )

DECLARE_CATEGORY("Gui Images" )

DECLARE_CONOBJECT(guiAnimBitmapCtrl )

DECLARE_DESCRIPTION("A <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> that clips <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> bitmap based on %." )

onAdd()

Reimplemented from: GuiControl

onRender(Point2I offset, const RectI & updateRect)

Reimplemented from: GuiControl

Public Static Functions

initPersistFields()