Torque3D Documentation / _generateds / GuiGradientSwatchCtrl

GuiGradientSwatchCtrl

Engine/source/gui/controls/guiGradientCtrl.h

More...

Private Types

Protected Attributes

Public Functions

DECLARE_CALLBACK(void , onDoubleClick , () )
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.

Detailed Description

Private Types

typedef GuiSwatchButtonCtrl Parent 

Private Attributes

Point2I mMouseDownPosition 
RectI mOrigBounds 

Protected Attributes

StringTableEntry mColorFunction 

Public Functions

GuiGradientSwatchCtrl()

DECLARE_CALLBACK(void , onDoubleClick , () )

DECLARE_CALLBACK(void , onMouseDown , () )

DECLARE_CONOBJECT(GuiGradientSwatchCtrl )

onMouseDown(const GuiEvent & )

Reimplemented from: GuiButtonBaseCtrl

onMouseDragged(const GuiEvent & event)

Reimplemented from: GuiButtonBaseCtrl

onRender(Point2I offset, const RectI & updateRect)

Reimplemented from: GuiSwatchButtonCtrl

onRightMouseDown(const GuiEvent & )

Reimplemented from: GuiControl

onWake()

Reimplemented from: GuiSwatchButtonCtrl