Torque3D Documentation / _generateds / GuiSeparatorCtrl

GuiSeparatorCtrl

Engine/source/gui/editor/guiSeparatorCtrl.h

Renders a separator line with optional text.

More...

Public Types

enum
separatorTypeOptions {
  separatorTypeVertical = 0
  separatorTypeHorizontal 
}

Private Types

Parent 

Public Functions

DECLARE_CATEGORY("Gui Other" )
DECLARE_DESCRIPTION("A <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> that renders <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> horizontal or vertical separator <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">with\n</a>" "an optional text label (horizontal only). " )
onRender(Point2I offset, const RectI & updateRect)

Called when this control is to render itself.

Public Static Functions

Detailed Description

Renders a separator line with optional text.

Public Types

separatorTypeOptions

Enumerator

separatorTypeVertical = 0

Draw Vertical Separator.

separatorTypeHorizontal

Horizontal Separator.

Private Types

typedef GuiControl Parent 

Public Attributes

bool mInvisible 
S32 mMargin 
S32 mSeparatorType 
String mText 
S32 mTextLeftMargin 

Public Functions

GuiSeparatorCtrl()

DECLARE_CATEGORY("Gui Other" )

DECLARE_CONOBJECT(GuiSeparatorCtrl )

DECLARE_DESCRIPTION("A <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> that renders <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> horizontal or vertical separator <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">with\n</a>" "an optional text label (horizontal only). " )

onRender(Point2I offset, const RectI & updateRect)

Reimplemented from: GuiControl

Public Static Functions

initPersistFields()