GuiDynamicCtrlArrayControl Class Reference

#include <guiDynamicCtrlArrayCtrl.h>

Inheritance diagram for GuiDynamicCtrlArrayControl:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 GuiDynamicCtrlArrayControl ()
virtual ~GuiDynamicCtrlArrayControl ()
void updateChildControls ()
bool resize (const Point2I &newPosition, const Point2I &newExtent)
 Changes the size and/or position of this control.
void addObject (SimObject *obj)
 Adds an object as a child of this object.
void childResized (GuiControl *child)
 Called when a child control of the object is resized.
void inspectPostApply ()
 Called after any property of the object is changed in the world editor.
 DECLARE_CONOBJECT (GuiDynamicCtrlArrayControl)

Static Public Member Functions

static void initPersistFields ()
 Register dynamic fields in a subclass of ConsoleObject.

Private Types

typedef GuiControl Parent

Private Attributes

S32 mCols
S32 mRowSize
S32 mColSize
S32 mRowSpacing
S32 mColSpacing
bool mResizing

Member Typedef Documentation

Reimplemented from GuiControl.


Constructor & Destructor Documentation

GuiDynamicCtrlArrayControl::GuiDynamicCtrlArrayControl (  ) 

virtual GuiDynamicCtrlArrayControl::~GuiDynamicCtrlArrayControl (  )  [virtual]


Member Function Documentation

void GuiDynamicCtrlArrayControl::updateChildControls (  ) 

bool GuiDynamicCtrlArrayControl::resize ( const Point2I newPosition,
const Point2I newExtent 
) [virtual]

Changes the size and/or position of this control.

Parameters:
newPosition New position of this control
newExtent New size of this control

Reimplemented from GuiControl.

void GuiDynamicCtrlArrayControl::addObject ( SimObject obj  )  [virtual]

Adds an object as a child of this object.

Parameters:
obj New child object of this control

Reimplemented from GuiControl.

void GuiDynamicCtrlArrayControl::childResized ( GuiControl child  )  [virtual]

Called when a child control of the object is resized.

Parameters:
child Child object

Reimplemented from GuiControl.

void GuiDynamicCtrlArrayControl::inspectPostApply (  )  [virtual]

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

See also:
inspectPreApply

Reimplemented from GuiControl.

static void GuiDynamicCtrlArrayControl::initPersistFields (  )  [static]

Register dynamic fields in a subclass of ConsoleObject.

See also:
addField(), addFieldV(), addDeprecatedField(), addGroup(), endGroup()

Reimplemented from GuiControl.

GuiDynamicCtrlArrayControl::DECLARE_CONOBJECT ( GuiDynamicCtrlArrayControl   ) 


Member Data Documentation