Torque3D Documentation / _generateds / GuiProgressBitmapCtrl

GuiProgressBitmapCtrl

Engine/source/gui/game/guiProgressBitmapCtrl.h

A control that renders a horizontal progress bar from a repeating bitmap image.

More...

Public Types

Parent 

Protected Static Functions

bool
_setBitmap(void * object, const char * index, const char * data)

Public Functions

DECLARE_CATEGORY("Gui Values" )
DECLARE_DESCRIPTION("A <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> that shows <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> horizontal progress bar that is <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">rendered\n</a>" "by repeating <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> bitmap." )
const char *

Returns the value of the variable bound to this object.

Do special pre-render processing.

onRender(Point2I offset, const RectI & updateRect)

Called when this control is to render itself.

bool

Called when this object is asked to wake up returns true if it's actually awake at the end.

setBitmap(const char * name)
setScriptValue(const char * value)

Sets the value of the variable bound to this object.

Public Static Functions

Detailed Description

A control that renders a horizontal progress bar from a repeating bitmap image.

Public Types

typedef GuiTextCtrl Parent 

Protected Attributes

StringTableEntry mBitmapName 
S32 mDim 
S32 mNumberOfBitmaps 
F32 mProgress 
bool mTile 
bool mUseVariable 

Protected Static Functions

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

Public Functions

GuiProgressBitmapCtrl()

DECLARE_CATEGORY("Gui Values" )

DECLARE_CONOBJECT(GuiProgressBitmapCtrl )

DECLARE_DESCRIPTION("A <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> that shows <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> horizontal progress bar that is <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">rendered\n</a>" "by repeating <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> bitmap." )

getScriptValue()

Reimplemented from: GuiTextCtrl

onPreRender()

Reimplemented from: GuiTextCtrl

onRender(Point2I offset, const RectI & updateRect)

Reimplemented from: GuiTextCtrl

onWake()

Reimplemented from: GuiTextCtrl

setBitmap(const char * name)

setScriptValue(const char * value)

Reimplemented from: GuiTextCtrl

Public Static Functions

initPersistFields()