Torque3D Documentation / _generateds / GuiToolboxButtonCtrl

GuiToolboxButtonCtrl

Engine/source/gui/buttons/guiToolboxButtonCtrl.h

More...

Private Types

Protected Functions

renderButton(GFXTexHandle & texture, Point2I & offset, const RectI & updateRect)

Public Functions

Called after any property of the object is changed in the world editor.

onRender(Point2I offset, const RectI & updateRect)

Called when this control is to render itself.

Called when this object is asked to sleep.

bool

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

Public Static Functions

Detailed Description

Private Types

typedef GuiButtonCtrl Parent 

Protected Attributes

StringTableEntry mHoverBitmapName 
StringTableEntry mLoweredBitmapName 
StringTableEntry mNormalBitmapName 
GFXTexHandle mTextureHover 
GFXTexHandle mTextureLowered 
GFXTexHandle mTextureNormal 

Protected Functions

renderButton(GFXTexHandle & texture, Point2I & offset, const RectI & updateRect)

renderStateRect(GFXTexHandle & texture, const RectI & rect)

Public Functions

GuiToolboxButtonCtrl()

DECLARE_CONOBJECT(GuiToolboxButtonCtrl )

inspectPostApply()

Reimplemented from: SimObject

onRender(Point2I offset, const RectI & updateRect)

Reimplemented from: GuiButtonCtrl

onSleep()

Reimplemented from: GuiControl

onWake()

Reimplemented from: GuiButtonCtrl

setHoverBitmap(StringTableEntry bitmapName)

setLoweredBitmap(StringTableEntry bitmapName)

setNormalBitmap(StringTableEntry bitmapName)

Public Static Functions

initPersistFields()