|
Console | |
The console variable collection of functions allows a console variable to be bound to the GUI control.
This allows, say, an edit field to be bound to '$foo'. The value of the console variable '$foo' would then be equal to the text inside the text field. Changing either changes the other. | |
void | setConsoleVariable (const char *variable) |
Set the name of the console variable which this GuiObject is bound to. | |
void | setConsoleCommand (const char *newCmd) |
Set the name of the console function bound to, such as a script function a button calls when clicked. | |
const char * | getConsoleCommand () |
Returns the name of the function bound to this GuiControl. | |
LangTable * | getGUILangTable (void) |
const UTF8 * | getGUIString (S32 id) |
void | setVariable (const char *value) |
Sets the value of the console variable bound to this control. | |
void | setIntVariable (S32 value) |
Sets the value of the console variable bound to this control. | |
void | setFloatVariable (F32 value) |
Sets the value of the console variable bound to this control. | |
const char * | getVariable () |
Returns value of control's bound variable as a string. | |
S32 | getIntVariable () |
Returns value of control's bound variable as a integer. | |
F32 | getFloatVariable () |
Returns value of control's bound variable as a float. | |
GFXStateBlockRef | mDefaultGuiSB |
Initialization | |
DECLARE_CONOBJECT (GuiControl) | |
GuiControl () | |
virtual | ~GuiControl () |
virtual bool | processArguments (S32 argc, const char **argv) |
Process constructor options. (ie, new SimObject(1,2,3)). | |
static void | initPersistFields () |
Register dynamic fields in a subclass of ConsoleObject. | |
Flags | |
virtual void | setVisible (bool value) |
bool | isVisible () |
Returns true if the object is visible. | |
void | setActive (bool value) |
Sets the status of this control as active and responding or inactive. | |
bool | isActive () |
Returns true if this control is active. | |
bool | isAwake () |
Returns true if this control is awake. | |
static bool | setVisible (void *obj, const char *data) |
Sets the visibility of the control. | |
Control State | |
StringTableEntry | mProfileName |
StringTableEntry | mTooltipProfileName |
S32 | mTipHoverTime |
bool | mVisible |
bool | mActive |
bool | mAwake |
bool | mSetFirstResponder |
bool | mCanSave |
bool | mIsContainer |
if true, then the GuiEditor can drag other controls into this one. | |
S32 | mLayer |
Point2I | mMinExtent |
StringTableEntry | mLangTableName |
LangTable * | mLangTable |
static bool | setProfileProt (void *obj, const char *data) |
static bool | smDesignTime |
static GuiControl boolean that specifies if the GUI Editor is active | |
Keyboard Input | |
GuiControl * | mFirstResponder |
static GuiControl * | smPrevResponder |
static GuiControl * | smCurResponder |
Public Types | |
horizResizeRight = 0 | |
fixed on the left and width | |
horizResizeWidth | |
fixed on the left and right | |
horizResizeLeft | |
fixed on the right and width | |
horizResizeCenter | |
horizResizeRelative | |
resize relative | |
vertResizeBottom = 0 | |
fixed on the top and in height | |
vertResizeHeight | |
fixed on the top and bottom | |
vertResizeTop | |
fixed in height and on the bottom | |
vertResizeCenter | |
vertResizeRelative | |
resize relative | |
enum | horizSizingOptions { horizResizeRight = 0, horizResizeWidth, horizResizeLeft, horizResizeCenter, horizResizeRelative } |
enum | vertSizingOptions { vertResizeBottom = 0, vertResizeHeight, vertResizeTop, vertResizeCenter, vertResizeRelative } |
Public Member Functions | |
virtual void | getScrollLineSizes (U32 *rowHeight, U32 *columnWidth) |
Get information about the size of a scroll line. | |
virtual void | getCursor (GuiCursor *&cursor, bool &showCursor, const GuiEvent &lastGuiEvent) |
Get information about the cursor. | |
void | awaken () |
Called when this control and its children have been wired up. | |
void | sleep () |
Called when this control is no more. | |
void | preRender () |
Pre-render this control and all its children. | |
virtual bool | onInputEvent (const InputEventInfo &event) |
General input handler. | |
virtual bool | ControlIsChild (GuiControl *child) |
Returns true if the provided control is a child (grandchild, or great-grandchild) of this one. | |
GuiControlProfile * | getTooltipProfile () |
Returns our tooltip profile (and finds the profile if it hasn't been set yet). | |
void | setTooltipProfile (GuiControlProfile *prof) |
Sets the tooltip profile for this control. | |
GuiControlProfile * | getControlProfile () |
Returns our profile (and finds the profile if it hasn't been set yet). | |
void | setControlProfile (GuiControlProfile *prof) |
Sets the control profile for this control. | |
virtual void | onAction () |
Occurs when this control performs its "action". | |
void | renderJustifiedText (Point2I offset, Point2I extent, const char *text) |
Renders justified text using the profile. | |
void | inspectPostApply () |
Called after any property of the object is changed in the world editor. | |
void | inspectPreApply () |
Called before any property of the object is changed in the world editor. | |
Editor | |
These functions are used by the GUI Editor | |
void | setSizing (S32 horz, S32 vert) |
Sets the size of the GuiControl. | |
void | write (Stream &stream, U32 tabStop, U32 flags) |
Overrides Parent Serialization to allow specific controls to not be saved (Dynamic Controls, etc). | |
bool | getCanSave () |
Returns boolean specifying if a control can be serialized. | |
void | setCanSave (bool bCanSave) |
Set serialization flag. | |
bool | getCanSaveParent () |
Returns boolean as to whether any parent of this control has the 'no serialization' flag set. | |
StringTableEntry | getScriptFile () |
Returns the name of the script file the gui was created in, so that we can save it again to the same file. | |
Accessors | |
const Point2I & | getPosition () const |
Returns position of the control. | |
const Point2I & | getExtent () const |
Returns extents of the control. | |
const RectI | getBounds () const |
Returns the bounds of the control. | |
const RectI | getGlobalBounds () |
virtual Point2I | getMinExtent () const |
Returns minimum size the control can be. | |
virtual void | setMinExtent (const Point2I &newMinExtent) |
const S32 | getLeft () const |
Returns the X position of the control. | |
const S32 | getTop () const |
Returns the Y position of the control. | |
const S32 | getWidth () const |
Returns the width of the control. | |
const S32 | getHeight () const |
Returns the height of the control. | |
Children | |
void | addObject (SimObject *obj) |
Adds an object as a child of this object. | |
void | removeObject (SimObject *obj) |
Removes a child object from this control. | |
GuiControl * | getParent () |
Returns the control which owns this one. | |
GuiCanvas * | getRoot () |
Returns the root canvas of this control. | |
Coordinates | |
Point2I | localToGlobalCoord (const Point2I &src) |
Translates local coordinates (wrt this object) into global coordinates. | |
Point2I | globalToLocalCoord (const Point2I &src) |
Returns global coordinates translated into local space. | |
Resizing | |
virtual bool | resize (const Point2I &newPosition, const Point2I &newExtent) |
Changes the size and/or position of this control. | |
virtual bool | setPosition (const Point2I &newPosition) |
Changes the position of this control. | |
virtual bool | setExtent (const Point2I &newExtent) |
Changes the size of this control. | |
void | setExtent (const S32 width, const S32 height) |
virtual bool | setBounds (const RectI &newBounds) |
Changes the bounds of this control. | |
void | setBounds (const S32 left, const S32 top, const S32 width, const S32 height) |
virtual void | setLeft (S32 newLeft) |
Changes the X position of this control. | |
virtual void | setTop (S32 newTop) |
Changes the Y position of this control. | |
virtual void | setWidth (S32 newWidth) |
Changes the width of this control. | |
virtual void | setHeight (S32 newHeight) |
Changes the height of this control. | |
virtual void | childResized (GuiControl *child) |
Called when a child control of the object is resized. | |
virtual void | parentResized (const RectI &oldParentRect, const RectI &newParentRect) |
Called when this objects parent is resized. | |
Rendering | |
virtual void | onRender (Point2I offset, const RectI &updateRect) |
Called when this control is to render itself. | |
virtual bool | renderTooltip (Point2I cursorPos, const char *tipText=NULL) |
Render a tooltip at the specified cursor position for this control. | |
void | renderChildControls (Point2I offset, const RectI &updateRect) |
Called when this control should render its children. | |
void | setUpdateRegion (Point2I pos, Point2I ext) |
Sets the area (local coordinates) this control wants refreshed each frame. | |
virtual void | setUpdate () |
Sets the update area of the control to encompass the whole control. | |
Events | |
If you subclass these, make sure to call the Parent::'s versions. | |
virtual bool | onWake () |
Called when this object is asked to wake up returns true if it's actually awake at the end. | |
virtual void | onSleep () |
Called when this object is asked to sleep. | |
virtual void | onPreRender () |
Do special pre-render processing. | |
virtual void | onRemove () |
Called when this object is removed. | |
virtual void | onChildRemoved (GuiControl *child) |
Called when one of this objects children is removed. | |
bool | onAdd () |
Called when this object is added to the scene. | |
virtual void | onDeleteNotify (SimObject *object) |
Called when the mProfile or mToolTipProfile is deleted. | |
virtual void | onChildAdded (GuiControl *child) |
Called when this object has a new child. | |
Console | |
virtual const char * | getScriptValue () |
Returns the value of the variable bound to this object. | |
virtual void | setScriptValue (const char *value) |
Sets the value of the variable bound to this object. | |
Input (Keyboard/Mouse) | |
virtual bool | pointInControl (const Point2I &parentCoordPoint) |
This function will return true if the provided coordinates (wrt parent object) are within the bounds of this control. | |
bool | cursorInControl () |
Returns true if the global cursor is inside this control. | |
virtual GuiControl * | findHitControl (const Point2I &pt, S32 initialLayer=-1) |
Returns the control which the provided point is under, with layering. | |
void | mouseLock (GuiControl *lockingControl) |
Lock the mouse within the provided control. | |
void | mouseLock () |
Turn on mouse locking with last used lock control. | |
void | mouseUnlock () |
Unlock the mouse. | |
bool | isMouseLocked () |
Returns true if the mouse is locked. | |
Mouse Events | |
These functions are called when the input event which is in the name of the function occurs. | |
virtual void | onMouseUp (const GuiEvent &event) |
virtual void | onMouseDown (const GuiEvent &event) |
virtual void | onMouseMove (const GuiEvent &event) |
virtual void | onMouseDragged (const GuiEvent &event) |
virtual void | onMouseEnter (const GuiEvent &event) |
virtual void | onMouseLeave (const GuiEvent &event) |
virtual bool | onMouseWheelUp (const GuiEvent &event) |
virtual bool | onMouseWheelDown (const GuiEvent &event) |
virtual void | onRightMouseDown (const GuiEvent &event) |
virtual void | onRightMouseUp (const GuiEvent &event) |
virtual void | onRightMouseDragged (const GuiEvent &event) |
virtual void | onMiddleMouseDown (const GuiEvent &event) |
virtual void | onMiddleMouseUp (const GuiEvent &event) |
virtual void | onMiddleMouseDragged (const GuiEvent &event) |
Gamepad Events | |
These functions are called when the input event which is in the name of the function occurs. | |
virtual bool | onGamepadButtonDown (const GuiEvent &event) |
Default behavior is call-through to onKeyDown. | |
virtual bool | onGamepadButtonUp (const GuiEvent &event) |
Default behavior is call-through to onKeyUp. | |
virtual bool | onGamepadAxisUp (const GuiEvent &event) |
virtual bool | onGamepadAxisDown (const GuiEvent &event) |
virtual bool | onGamepadAxisLeft (const GuiEvent &event) |
virtual bool | onGamepadAxisRight (const GuiEvent &event) |
virtual bool | onGamepadTrigger (const GuiEvent &event) |
Editor Mouse Events | |
These functions are called when the input event which is in the name of the function occurs. Conversely from normal mouse events, these have a boolean return value that, if they return true, the editor will NOT act on them or be able to respond to this particular event.
This is particularly useful for when writing controls so that they may become aware of the editor and allow customization of their data or appearance as if they were actually in use. For example, the GuiTabBookCtrl catches on mouse down to select a tab and NOT let the editor do any instant group manipulation. | |
virtual bool | onMouseDownEditor (const GuiEvent &event, Point2I offset) |
Called when a mouseDown event occurs on a control and the GUI editor is active. | |
virtual bool | onMouseUpEditor (const GuiEvent &event, Point2I offset) |
Called when a mouseUp event occurs on a control and the GUI editor is active. | |
virtual bool | onRightMouseDownEditor (const GuiEvent &event, Point2I offset) |
Called when a rightMouseDown event occurs on a control and the GUI editor is active. | |
virtual bool | onMouseDraggedEditor (const GuiEvent &event, Point2I offset) |
Called when a mouseDragged event occurs on a control and the GUI editor is active. | |
Tabs | |
virtual GuiControl * | findFirstTabable () |
Find the first tab-accessible child of this control. | |
virtual GuiControl * | findLastTabable (bool firstCall=true) |
Find the last tab-accessible child of this control. | |
virtual GuiControl * | findPrevTabable (GuiControl *curResponder, bool firstCall=true) |
Find previous tab-accessible control with respect to the provided one. | |
virtual GuiControl * | findNextTabable (GuiControl *curResponder, bool firstCall=true) |
Find next tab-accessible control with regards to the provided control. | |
First Responder | |
A first responder is the control which reacts first, in it's responder chain, to keyboard events The responder chain is set for each parent and so there is only one first responder amongst it's children. | |
virtual void | setFirstResponder (GuiControl *firstResponder) |
Sets the first responder for child controls. | |
virtual void | makeFirstResponder (bool value) |
Sets up this control to be the first in it's group to respond to an input event. | |
bool | isFirstResponder () |
Returns true if this control is a first responder. | |
virtual void | setFirstResponder () |
Sets this object to be a first responder. | |
void | clearFirstResponder () |
Clears the first responder for this chain. | |
GuiControl * | getFirstResponder () |
Returns the first responder for this chain. | |
virtual void | onLoseFirstResponder () |
Occurs when the first responder for this chain is lost. | |
Keyboard Events | |
void | addAcceleratorKey () |
Adds the accelerator key for this object to the canvas. | |
virtual void | buildAcceleratorMap () |
Adds this control's accelerator key to the accelerator map, and recursively tells all children to do the same. | |
virtual void | acceleratorKeyPress (U32 index) |
Occurs when the accelerator key for this control is pressed. | |
virtual void | acceleratorKeyRelease (U32 index) |
Occurs when the accelerator key for this control is released. | |
virtual bool | onKeyDown (const GuiEvent &event) |
Happens when a key is depressed. | |
virtual bool | onKeyUp (const GuiEvent &event) |
Happens when a key is released. | |
virtual bool | onKeyRepeat (const GuiEvent &event) |
Happens when a key is held down, resulting in repeated keystrokes. | |
Peer Messaging | |
Used to send a message to other GUIControls which are children of the same parent.
This is mostly used by radio controls. | |
void | messageSiblings (S32 message) |
Send a message to all siblings. | |
virtual void | onMessage (GuiControl *sender, S32 msg) |
Receive a message from another control. | |
Canvas Events | |
Functions called by the canvas | |
virtual void | onDialogPush () |
Called if this object is a dialog, when it is added to the visible layers. | |
virtual void | onDialogPop () |
Called if this object is a dialog, when it is removed from the visible layers. | |
Static Public Attributes | |
Design Time Editor Access | |
static GuiEditCtrl * | smEditorHandle |
static GuiEditCtrl pointer that gives controls access to editor-NULL if editor is closed | |
Protected Member Functions | |
Callbacks | |
Executes a console command, and returns the result.
The global console variable $ThisControl is set to the id of the calling control. WARNING: because multiple controls may set $ThisControl, at any time, the value of $ThisControl should be stored in a local variable by the callback code. The use of the $ThisControl variable is not thread safe. | |
const char * | execConsoleCallback () |
Executes mConsoleCommand, and returns the result. | |
const char * | execAltConsoleCallback () |
Executes mAltConsoleCommand, and returns the result. | |
Protected Attributes | |
GuiControlProfile * | mProfile |
The profile for this gui (data settings that are likely to be shared by multiple guis). | |
GuiControlProfile * | mTooltipProfile |
The profile for any tooltips. | |
Control State | |
S32 | mHorizSizing |
Set from horizSizingOptions. | |
S32 | mVertSizing |
Set from vertSizingOptions. | |
StringTableEntry | mConsoleVariable |
StringTableEntry | mConsoleCommand |
StringTableEntry | mAltConsoleCommand |
StringTableEntry | mAcceleratorKey |
StringTableEntry | mTooltip |
Private Types | |
typedef SimGroup | Parent |
Private Attributes | |
StringTableEntry | mScriptFile |
The script file this GUI was created from. | |
SimGroup * | mAddGroup |
The internal name of a SimGroup child of the global GuiGroup in which to organize this gui on creation. | |
RectI | mBounds |
The internal bounds of this control. |
typedef SimGroup GuiControl::Parent [private] |
Reimplemented from SimGroup.
Reimplemented in GuiTSCtrl, GuiBitmapButtonCtrl, GuiBitmapButtonTextCtrl, GuiButtonBaseCtrl, GuiButtonCtrl, GuiCheckBoxCtrl, GuiIconButtonCtrl, GuiRadioCtrl, GuiToggleButtonCtrl, GuiToolboxButtonCtrl, GuiAutoScrollCtrl, GuiContainer, GuiControlArrayControl, GuiDragAndDropControl, GuiDynamicCtrlArrayControl, GuiFormCtrl, GuiFrameSetCtrl, GuiPaneControl, GuiPanel, GuiRolloutCtrl, GuiScrollCtrl, GuiSplitContainer, GuiStackControl, GuiTabBookCtrl, GuiWindowCtrl, GuiBackgroundCtrl, GuiBitmapCtrl, GuiColorPickerCtrl, GuiConsole, GuiConsoleEditCtrl, GuiConsoleTextCtrl, GuiDirectoryFileListCtrl, GuiDirectoryTreeCtrl, GuiFileTreeCtrl, GuiGameListMenuCtrl, GuiGameListOptionsCtrl, GuiListBoxCtrl, GuiMLTextCtrl, GuiMLTextEditCtrl, GuiPopupTextListCtrl, GuiPopUpMenuCtrl, GuiPopupTextListCtrlEx, GuiPopUpMenuCtrlEx, GuiSliderCtrl, GuiTabPageCtrl, GuiTextCtrl, GuiTextEditCtrl, GuiTextEditSliderCtrl, GuiTextListCtrl, GuiTreeViewCtrl, GuiArrayCtrl, GuiCanvas, GuiScriptNotifyCtrl, DbgFileView, GuiEditCtrl, GuiFilterCtrl, GuiGraphCtrl, GuiInspector, GuiInspectorTypeEnum, GuiInspectorTypeCheckBox, GuiInspectorTypeGuiProfile, GuiInspectorTypeFileName, GuiInspectorTypeColor, GuiInspectorTypeColorI, GuiInspectorTypeColorF, GuiInspectorTypeString, GuiInspectorTypeS32, GuiMenuBackgroundCtrl, GuiSubmenuBackgroundCtrl, GuiMenuTextListCtrl, GuiMenuBar, GuiSeparatorCtrl, GuiInspectorDatablockField, GuiInspectorDynamicField, GuiInspectorDynamicGroup, GuiInspectorField, GuiInspectorGroup, GuiAviBitmapCtrl, GuiMessageVectorCtrl, GuiProgressCtrl, CreatorTree, EditManager, EditTSCtrl, GuiTerrPreviewCtrl, MissionAreaEditor, TerrainEditor, WorldEditor, GuiTheoraCtrl, GuiTickCtrl, GuiAtlasMonitorCtrl, GuiBubbleTextCtrl, GuiInputCtrl, GuiMouseEventCtrl, sgGuiTexTestCtrl, GameTSCtrl, and GuiObjectView.
GuiControl::GuiControl | ( | ) |
virtual GuiControl::~GuiControl | ( | ) | [virtual] |
void GuiControl::setVariable | ( | const char * | value | ) | [protected] |
Sets the value of the console variable bound to this control.
value | String value to assign to control's console variable |
Sets the value of the console variable bound to this control.
value | Integer value to assign to control's console variable |
Sets the value of the console variable bound to this control.
value | Float value to assign to control's console variable |
const char* GuiControl::getVariable | ( | ) | [protected] |
Returns value of control's bound variable as a string.
S32 GuiControl::getIntVariable | ( | ) | [protected] |
Returns value of control's bound variable as a integer.
F32 GuiControl::getFloatVariable | ( | ) | [protected] |
Returns value of control's bound variable as a float.
void GuiControl::setConsoleVariable | ( | const char * | variable | ) |
Set the name of the console variable which this GuiObject is bound to.
variable | Variable name |
void GuiControl::setConsoleCommand | ( | const char * | newCmd | ) |
Set the name of the console function bound to, such as a script function a button calls when clicked.
newCmd | Console function to attach to this GuiControl |
const char* GuiControl::getConsoleCommand | ( | ) |
Returns the name of the function bound to this GuiControl.
const char* GuiControl::execConsoleCallback | ( | ) | [protected] |
const char* GuiControl::execAltConsoleCallback | ( | ) | [protected] |
Executes mAltConsoleCommand, and returns the result.
Overrides Parent Serialization to allow specific controls to not be saved (Dynamic Controls, etc).
Reimplemented from SimSet.
bool GuiControl::getCanSave | ( | ) |
Returns boolean specifying if a control can be serialized.
bool GuiControl::getCanSaveParent | ( | ) |
Returns boolean as to whether any parent of this control has the 'no serialization' flag set.
StringTableEntry GuiControl::getScriptFile | ( | ) |
Returns the name of the script file the gui was created in, so that we can save it again to the same file.
GuiControl::DECLARE_CONOBJECT | ( | GuiControl | ) |
static void GuiControl::initPersistFields | ( | ) | [static] |
Register dynamic fields in a subclass of ConsoleObject.
Reimplemented from SimObject.
Reimplemented in GuiTSCtrl, GuiBitmapButtonCtrl, GuiButtonBaseCtrl, GuiCheckBoxCtrl, GuiIconButtonCtrl, GuiToolboxButtonCtrl, GuiAutoScrollCtrl, GuiContainer, GuiControlArrayControl, GuiDragAndDropControl, GuiDynamicCtrlArrayControl, GuiFormCtrl, GuiFrameSetCtrl, GuiPaneControl, GuiRolloutCtrl, GuiScrollCtrl, GuiSplitContainer, GuiStackControl, GuiTabBookCtrl, GuiWindowCtrl, GuiBitmapCtrl, GuiColorPickerCtrl, GuiConsoleEditCtrl, GuiConsoleTextCtrl, GuiFileTreeCtrl, GuiGameListMenuCtrl, GuiGameListOptionsCtrl, GuiListBoxCtrl, GuiMLTextCtrl, GuiMLTextEditCtrl, GuiPopUpMenuCtrl, GuiPopUpMenuCtrlEx, GuiSliderCtrl, GuiTabPageCtrl, GuiTextCtrl, GuiTextEditCtrl, GuiTextEditSliderCtrl, GuiTextListCtrl, GuiTreeViewCtrl, GuiCanvas, GuiScriptNotifyCtrl, GuiFilterCtrl, GuiMenuBar, GuiSeparatorCtrl, GuiInspectorGroup, GuiAviBitmapCtrl, GuiMessageVectorCtrl, EditTSCtrl, GuiTerrPreviewCtrl, MissionAreaEditor, TerrainEditor, WorldEditor, GuiTheoraCtrl, GuiMouseEventCtrl, and sgGuiTexTestCtrl.
const Point2I& GuiControl::getPosition | ( | ) | const [inline] |
Returns position of the control.
const Point2I& GuiControl::getExtent | ( | ) | const [inline] |
Returns extents of the control.
const RectI GuiControl::getBounds | ( | ) | const [inline] |
Returns the bounds of the control.
const RectI GuiControl::getGlobalBounds | ( | ) | [inline] |
virtual Point2I GuiControl::getMinExtent | ( | ) | const [inline, virtual] |
const S32 GuiControl::getLeft | ( | ) | const [inline] |
Returns the X position of the control.
const S32 GuiControl::getTop | ( | ) | const [inline] |
Returns the Y position of the control.
const S32 GuiControl::getWidth | ( | ) | const [inline] |
Returns the width of the control.
const S32 GuiControl::getHeight | ( | ) | const [inline] |
Returns the height of the control.
Sets the visibility of the control.
value | True if object should be visible |
bool GuiControl::isVisible | ( | ) | [inline] |
Returns true if the object is visible.
Sets the status of this control as active and responding or inactive.
value | True if this is active |
bool GuiControl::isActive | ( | ) | [inline] |
Returns true if this control is active.
bool GuiControl::isAwake | ( | ) | [inline] |
Returns true if this control is awake.
Get information about the size of a scroll line.
rowHeight | The height, in pixels, of a row | |
columnWidth | The width, in pixels, of a column |
virtual void GuiControl::getCursor | ( | GuiCursor *& | cursor, | |
bool & | showCursor, | |||
const GuiEvent & | lastGuiEvent | |||
) | [virtual] |
Get information about the cursor.
cursor | Cursor information will be stored here | |
showCursor | Will be set to true if the cursor is visible | |
lastGuiEvent | GuiEvent containing cursor position and modifier keys (ie ctrl, shift, alt etc) |
Reimplemented in GuiFrameSetCtrl, GuiSplitContainer, GuiWindowCtrl, GuiEditCtrl, EditTSCtrl, MissionAreaEditor, and TerrainEditor.
Adds an object as a child of this object.
obj | New child object of this control |
Reimplemented from SimGroup.
Reimplemented in GuiContainer, GuiDynamicCtrlArrayControl, GuiFormCtrl, GuiFrameSetCtrl, GuiRolloutCtrl, GuiScrollCtrl, and GuiStackControl.
Removes a child object from this control.
obj | Object to remove from this control |
Reimplemented from SimGroup.
Reimplemented in GuiContainer, GuiFrameSetCtrl, GuiRolloutCtrl, and GuiStackControl.
GuiControl* GuiControl::getParent | ( | ) |
Returns the control which owns this one.
GuiCanvas* GuiControl::getRoot | ( | ) |
Translates local coordinates (wrt this object) into global coordinates.
src | Local coordinates to translate |
Returns global coordinates translated into local space.
src | Global coordinates to translate |
virtual bool GuiControl::resize | ( | const Point2I & | newPosition, | |
const Point2I & | newExtent | |||
) | [virtual] |
Changes the size and/or position of this control.
newPosition | New position of this control | |
newExtent | New size of this control |
Reimplemented in GuiAutoScrollCtrl, GuiContainer, GuiControlArrayControl, GuiDynamicCtrlArrayControl, GuiFormCtrl, GuiFrameSetCtrl, GuiPaneControl, GuiRolloutCtrl, GuiScrollCtrl, GuiSplitContainer, GuiStackControl, GuiTabBookCtrl, GuiWindowCtrl, GuiMLTextEditCtrl, GuiScriptNotifyCtrl, GuiInspectorTypeFileName, GuiInspectorTypeColor, GuiInspectorTypeString, GuiInspectorDynamicField, and GuiInspectorField.
Changes the position of this control.
newPosition | New position of this control |
Changes the size of this control.
newExtent | New size of this control |
Changes the bounds of this control.
newBounds | New bounds of this control |
void GuiControl::setBounds | ( | const S32 | left, | |
const S32 | top, | |||
const S32 | width, | |||
const S32 | height | |||
) | [inline] |
Changes the X position of this control.
newXPosition | New X Position of this control |
Changes the Y position of this control.
newYPosition | New Y Position of this control |
Changes the width of this control.
newWidth | New width of this control |
Changes the height of this control.
newHeight | New Height of this control |
virtual void GuiControl::childResized | ( | GuiControl * | child | ) | [virtual] |
Called when a child control of the object is resized.
child | Child object |
Reimplemented in GuiAutoScrollCtrl, GuiContainer, GuiDynamicCtrlArrayControl, GuiRolloutCtrl, GuiScrollCtrl, GuiStackControl, and GuiTabBookCtrl.
virtual void GuiControl::parentResized | ( | const RectI & | oldParentRect, | |
const RectI & | newParentRect | |||
) | [virtual] |
Called when this objects parent is resized.
oldParentRect | The old rectangle of the parent object | |
newParentRect | The new rectangle of the parent object |
Reimplemented in GuiContainer, GuiSplitContainer, GuiListBoxCtrl, GuiMLTextCtrl, GuiTextEditCtrl, GuiScriptNotifyCtrl, GuiInspector, and GuiMessageVectorCtrl.
Called when this control is to render itself.
offset | The location this control is to begin rendering | |
updateRect | The screen area this control has drawing access to |
Reimplemented in GuiTSCtrl, GuiBitmapButtonCtrl, GuiBitmapButtonTextCtrl, GuiButtonCtrl, GuiCheckBoxCtrl, GuiIconButtonCtrl, GuiToggleButtonCtrl, GuiToolboxButtonCtrl, GuiFormCtrl, GuiFrameSetCtrl, GuiPaneControl, GuiPanel, GuiRolloutCtrl, GuiScrollCtrl, GuiSplitContainer, GuiTabBookCtrl, GuiWindowCtrl, GuiBackgroundCtrl, GuiBitmapCtrl, GuiColorPickerCtrl, GuiConsoleTextCtrl, GuiGameListMenuCtrl, GuiGameListOptionsCtrl, GuiListBoxCtrl, GuiMLTextCtrl, GuiMLTextEditCtrl, GuiPopUpMenuCtrl, GuiPopUpMenuCtrlEx, GuiSliderCtrl, GuiTabPageCtrl, GuiTextCtrl, GuiTextEditCtrl, GuiTextEditSliderCtrl, GuiTreeViewCtrl, GuiArrayCtrl, GuiEditCtrl, GuiFilterCtrl, GuiGraphCtrl, GuiMenuBar, GuiSeparatorCtrl, GuiInspectorField, GuiMessageVectorCtrl, GuiProgressCtrl, EditTSCtrl, GuiTerrPreviewCtrl, MissionAreaEditor, GuiTheoraCtrl, GuiAtlasMonitorCtrl, sgGuiTexTestCtrl, and GameTSCtrl.
Render a tooltip at the specified cursor position for this control.
cursorPos | position of cursor to display the tip near | |
tipText | optional alternate tip to be rendered |
Called when this control should render its children.
offset | The location this control is to begin rendering | |
updateRect | The screen area this control has drawing access to |
Sets the area (local coordinates) this control wants refreshed each frame.
pos | UpperLeft point on rectangle of refresh area | |
ext | Extent of update rect |
virtual void GuiControl::setUpdate | ( | ) | [virtual] |
Sets the update area of the control to encompass the whole control.
Reimplemented in GuiTabBookCtrl.
void GuiControl::awaken | ( | ) |
Called when this control and its children have been wired up.
void GuiControl::sleep | ( | ) |
Called when this control is no more.
void GuiControl::preRender | ( | ) |
Pre-render this control and all its children.
virtual bool GuiControl::onWake | ( | ) | [virtual] |
Called when this object is asked to wake up returns true if it's actually awake at the end.
Reimplemented in GuiBitmapButtonCtrl, GuiButtonBaseCtrl, GuiButtonCtrl, GuiCheckBoxCtrl, GuiIconButtonCtrl, GuiToolboxButtonCtrl, GuiControlArrayControl, GuiFormCtrl, GuiFrameSetCtrl, GuiPaneControl, GuiRolloutCtrl, GuiScrollCtrl, GuiSplitContainer, GuiStackControl, GuiTabBookCtrl, GuiWindowCtrl, GuiBitmapCtrl, GuiConsole, GuiConsoleTextCtrl, GuiDirectoryFileListCtrl, GuiDirectoryTreeCtrl, GuiFileTreeCtrl, GuiGameListMenuCtrl, GuiListBoxCtrl, GuiMLTextCtrl, GuiMLTextEditCtrl, GuiPopUpMenuCtrl, GuiPopUpMenuCtrlEx, GuiSliderCtrl, GuiTabPageCtrl, GuiTextCtrl, GuiTextEditCtrl, GuiTextListCtrl, GuiTreeViewCtrl, GuiArrayCtrl, DbgFileView, GuiEditCtrl, GuiFilterCtrl, GuiGraphCtrl, GuiMenuBar, GuiMessageVectorCtrl, CreatorTree, EditManager, GuiTerrPreviewCtrl, MissionAreaEditor, GuiTheoraCtrl, GuiAtlasMonitorCtrl, GuiInputCtrl, and GuiObjectView.
virtual void GuiControl::onSleep | ( | ) | [virtual] |
Called when this object is asked to sleep.
Reimplemented in GuiBitmapButtonCtrl, GuiIconButtonCtrl, GuiToolboxButtonCtrl, GuiControlArrayControl, GuiFormCtrl, GuiPaneControl, GuiScrollCtrl, GuiStackControl, GuiTabBookCtrl, GuiWindowCtrl, GuiBitmapCtrl, GuiConsoleTextCtrl, GuiMLTextCtrl, GuiPopUpMenuCtrl, GuiPopUpMenuCtrlEx, GuiTabPageCtrl, GuiTextCtrl, GuiTextEditCtrl, GuiTreeViewCtrl, GuiArrayCtrl, GuiEditCtrl, GuiMenuBar, GuiMessageVectorCtrl, EditManager, GuiTerrPreviewCtrl, MissionAreaEditor, GuiTheoraCtrl, GuiAtlasMonitorCtrl, and GuiInputCtrl.
virtual void GuiControl::onPreRender | ( | ) | [virtual] |
Do special pre-render processing.
Reimplemented in GuiTSCtrl, GuiToggleButtonCtrl, GuiContainer, GuiScrollCtrl, GuiConsole, GuiConsoleTextCtrl, GuiMLTextCtrl, GuiTextCtrl, GuiTextEditCtrl, GuiTextEditSliderCtrl, GuiTreeViewCtrl, DbgFileView, GuiEditCtrl, GuiFilterCtrl, GuiMenuBar, GuiProgressCtrl, and GuiTerrPreviewCtrl.
virtual void GuiControl::onRemove | ( | ) | [virtual] |
Called when this object is removed.
Reimplemented from SimGroup.
Reimplemented in GuiTSCtrl, GuiTabBookCtrl, GuiTextListCtrl, GuiCanvas, GuiEditCtrl, GuiMessageVectorCtrl, and GuiAtlasMonitorCtrl.
virtual void GuiControl::onChildRemoved | ( | GuiControl * | child | ) | [virtual] |
Called when one of this objects children is removed.
Reimplemented in GuiAutoScrollCtrl, GuiContainer, GuiTabBookCtrl, and GuiScriptNotifyCtrl.
bool GuiControl::onAdd | ( | ) | [virtual] |
Called when this object is added to the scene.
Reimplemented from SimObject.
Reimplemented in GuiFormCtrl, GuiFrameSetCtrl, GuiRolloutCtrl, GuiSplitContainer, GuiTabBookCtrl, GuiFileTreeCtrl, GuiGameListMenuCtrl, GuiMLTextCtrl, GuiPopUpMenuCtrl, GuiPopUpMenuCtrlEx, GuiTextCtrl, GuiTextEditCtrl, GuiCanvas, GuiEditCtrl, GuiInspector, GuiInspectorDynamicField, GuiInspectorField, GuiInspectorGroup, GuiMessageVectorCtrl, EditManager, EditTSCtrl, GuiTerrPreviewCtrl, MissionAreaEditor, TerrainEditor, WorldEditor, and GuiAtlasMonitorCtrl.
Called when the mProfile or mToolTipProfile is deleted.
Reimplemented from SimSet.
Reimplemented in TerrainEditor.
virtual void GuiControl::onChildAdded | ( | GuiControl * | child | ) | [virtual] |
Called when this object has a new child.
Reimplemented in GuiAutoScrollCtrl, GuiContainer, GuiTabBookCtrl, and GuiScriptNotifyCtrl.
virtual const char* GuiControl::getScriptValue | ( | ) | [virtual] |
Returns the value of the variable bound to this object.
Reimplemented in GuiButtonBaseCtrl, GuiCheckBoxCtrl, GuiColorPickerCtrl, GuiConsoleTextCtrl, GuiMLTextCtrl, GuiPopUpMenuCtrl, GuiPopUpMenuCtrlEx, GuiTextCtrl, GuiTextEditCtrl, GuiTextListCtrl, and GuiProgressCtrl.
virtual void GuiControl::setScriptValue | ( | const char * | value | ) | [virtual] |
Sets the value of the variable bound to this object.
Reimplemented in GuiButtonBaseCtrl, GuiColorPickerCtrl, GuiConsoleTextCtrl, GuiMLTextCtrl, GuiSliderCtrl, GuiTextCtrl, GuiTextEditCtrl, GuiTextListCtrl, and GuiProgressCtrl.
This function will return true if the provided coordinates (wrt parent object) are within the bounds of this control.
parentCoordPoint | Coordinates to test |
Reimplemented in GuiSubmenuBackgroundCtrl.
bool GuiControl::cursorInControl | ( | ) |
Returns true if the global cursor is inside this control.
virtual GuiControl* GuiControl::findHitControl | ( | const Point2I & | pt, | |
S32 | initialLayer = -1 | |||
) | [virtual] |
Returns the control which the provided point is under, with layering.
pt | Point to test | |
initialLayer | Layer of gui objects to begin the search |
Reimplemented in GuiScrollCtrl, GuiWindowCtrl, and GuiTabPageCtrl.
void GuiControl::mouseLock | ( | GuiControl * | lockingControl | ) |
Lock the mouse within the provided control.
lockingControl | Control to lock the mouse within |
Reimplemented in GuiCanvas.
void GuiControl::mouseLock | ( | ) |
Turn on mouse locking with last used lock control.
void GuiControl::mouseUnlock | ( | ) |
Unlock the mouse.
bool GuiControl::isMouseLocked | ( | ) |
Returns true if the mouse is locked.
virtual bool GuiControl::onInputEvent | ( | const InputEventInfo & | event | ) | [virtual] |
Reimplemented in GuiButtonBaseCtrl, GuiCheckBoxCtrl, GuiDragAndDropControl, GuiFormCtrl, GuiFrameSetCtrl, GuiPaneControl, GuiRolloutCtrl, GuiScrollCtrl, GuiSplitContainer, GuiWindowCtrl, GuiColorPickerCtrl, GuiGameListMenuCtrl, GuiGameListOptionsCtrl, GuiMLTextCtrl, GuiPopupTextListCtrl, GuiPopUpMenuCtrl, GuiPopupTextListCtrlEx, GuiPopUpMenuCtrlEx, GuiSliderCtrl, GuiTextEditCtrl, GuiTextEditSliderCtrl, GuiTreeViewCtrl, DbgFileView, GuiEditCtrl, GuiFilterCtrl, GuiMenuTextListCtrl, GuiMenuBar, GuiMessageVectorCtrl, CreatorTree, EditTSCtrl, MissionAreaEditor, GuiMouseEventCtrl, and GuiObjectView.
Reimplemented in GuiButtonBaseCtrl, GuiCheckBoxCtrl, GuiDragAndDropControl, GuiFormCtrl, GuiFrameSetCtrl, GuiPaneControl, GuiRolloutCtrl, GuiScrollCtrl, GuiSplitContainer, GuiTabBookCtrl, GuiWindowCtrl, GuiColorPickerCtrl, GuiDirectoryFileListCtrl, GuiGameListMenuCtrl, GuiListBoxCtrl, GuiMLTextCtrl, GuiPopUpBackgroundCtrl, GuiPopupTextListCtrl, GuiPopUpMenuCtrl, GuiPopUpBackgroundCtrlEx, GuiPopupTextListCtrlEx, GuiPopUpMenuCtrlEx, GuiSliderCtrl, GuiTabPageCtrl, GuiTextEditCtrl, GuiTextEditSliderCtrl, GuiTreeViewCtrl, GuiArrayCtrl, DbgFileView, GuiEditCtrl, GuiFilterCtrl, GuiMenuBackgroundCtrl, GuiSubmenuBackgroundCtrl, GuiMenuTextListCtrl, GuiMenuBar, GuiMessageVectorCtrl, CreatorTree, EditTSCtrl, MissionAreaEditor, GuiBubbleTextCtrl, GuiMouseEventCtrl, and GuiObjectView.
Reimplemented in GuiDragAndDropControl, GuiFrameSetCtrl, GuiScrollCtrl, GuiSplitContainer, GuiWindowCtrl, GuiColorPickerCtrl, GuiGameListMenuCtrl, GuiListBoxCtrl, GuiMLTextCtrl, GuiSliderCtrl, GuiTextEditCtrl, GuiTextEditSliderCtrl, GuiTreeViewCtrl, GuiArrayCtrl, DbgFileView, GuiEditCtrl, GuiFilterCtrl, GuiMenuBackgroundCtrl, GuiMenuBar, CreatorTree, EditTSCtrl, MissionAreaEditor, GuiMouseEventCtrl, and GuiObjectView.
Reimplemented in GuiScrollCtrl, and EditTSCtrl.
Reimplemented in GuiScrollCtrl, and EditTSCtrl.
Reimplemented in GuiTreeViewCtrl, GuiArrayCtrl, GuiEditCtrl, EditTSCtrl, GuiMouseEventCtrl, and GuiObjectView.
Reimplemented in GuiButtonBaseCtrl, EditTSCtrl, GuiMouseEventCtrl, and GuiObjectView.
Reimplemented in EditTSCtrl, GuiMouseEventCtrl, and GuiObjectView.
Reimplemented in GuiTreeViewCtrl.
Default behavior is call-through to onKeyDown.
Default behavior is call-through to onKeyUp.
Reimplemented in GuiGameListMenuCtrl.
Reimplemented in GuiGameListMenuCtrl.
Reimplemented in GuiGameListOptionsCtrl.
Reimplemented in GuiGameListOptionsCtrl.
virtual bool GuiControl::onMouseDownEditor | ( | const GuiEvent & | event, | |
Point2I | offset | |||
) | [inline, virtual] |
Called when a mouseDown event occurs on a control and the GUI editor is active.
event | the GuiEvent which caused the call to this function | |
offset | the offset which is representative of the units x and y that the editor takes up on screen |
Reimplemented in GuiTabBookCtrl, and GuiTabPageCtrl.
virtual bool GuiControl::onMouseUpEditor | ( | const GuiEvent & | event, | |
Point2I | offset | |||
) | [inline, virtual] |
Called when a mouseUp event occurs on a control and the GUI editor is active.
event | the GuiEvent which caused the call to this function | |
offset | the offset which is representative of the units x and y that the editor takes up on screen |
virtual bool GuiControl::onRightMouseDownEditor | ( | const GuiEvent & | event, | |
Point2I | offset | |||
) | [inline, virtual] |
Called when a rightMouseDown event occurs on a control and the GUI editor is active.
event | the GuiEvent which caused the call to this function | |
offset | the offset which is representative of the units x and y that the editor takes up on screen |
virtual bool GuiControl::onMouseDraggedEditor | ( | const GuiEvent & | event, | |
Point2I | offset | |||
) | [inline, virtual] |
Called when a mouseDragged event occurs on a control and the GUI editor is active.
event | the GuiEvent which caused the call to this function | |
offset | the offset which is representative of the units x and y that the editor takes up on screen |
virtual GuiControl* GuiControl::findFirstTabable | ( | ) | [virtual] |
Find the first tab-accessible child of this control.
virtual GuiControl* GuiControl::findLastTabable | ( | bool | firstCall = true |
) | [virtual] |
Find the last tab-accessible child of this control.
firstCall | Set to true to clear the global previous responder |
virtual GuiControl* GuiControl::findPrevTabable | ( | GuiControl * | curResponder, | |
bool | firstCall = true | |||
) | [virtual] |
Find previous tab-accessible control with respect to the provided one.
curResponder | Current control | |
firstCall | Set to true to clear the global previous responder |
Reimplemented in GuiWindowCtrl, and GuiTabPageCtrl.
virtual GuiControl* GuiControl::findNextTabable | ( | GuiControl * | curResponder, | |
bool | firstCall = true | |||
) | [virtual] |
Find next tab-accessible control with regards to the provided control.
curResponder | Current control | |
firstCall | Set to true to clear the global current responder |
Reimplemented in GuiWindowCtrl, and GuiTabPageCtrl.
virtual bool GuiControl::ControlIsChild | ( | GuiControl * | child | ) | [virtual] |
Returns true if the provided control is a child (grandchild, or great-grandchild) of this one.
child | Control to test |
virtual void GuiControl::setFirstResponder | ( | GuiControl * | firstResponder | ) | [virtual] |
Sets the first responder for child controls.
firstResponder | First responder for this chain |
Reimplemented in GuiCanvas, and GuiScriptNotifyCtrl.
Sets up this control to be the first in it's group to respond to an input event.
value | True if this should be a first responder |
bool GuiControl::isFirstResponder | ( | ) |
Returns true if this control is a first responder.
virtual void GuiControl::setFirstResponder | ( | ) | [virtual] |
Sets this object to be a first responder.
Reimplemented in GuiTextEditCtrl, and GuiScriptNotifyCtrl.
void GuiControl::clearFirstResponder | ( | ) |
GuiControl* GuiControl::getFirstResponder | ( | ) | [inline] |
Returns the first responder for this chain.
virtual void GuiControl::onLoseFirstResponder | ( | ) | [virtual] |
Occurs when the first responder for this chain is lost.
Reimplemented in GuiTextEditCtrl, and GuiScriptNotifyCtrl.
void GuiControl::addAcceleratorKey | ( | ) |
Adds the accelerator key for this object to the canvas.
virtual void GuiControl::buildAcceleratorMap | ( | ) | [virtual] |
Adds this control's accelerator key to the accelerator map, and recursively tells all children to do the same.
Reimplemented in GuiMenuBar.
Occurs when the accelerator key for this control is pressed.
index | Index in the accelerator map of the key |
Reimplemented in GuiButtonBaseCtrl, and GuiMenuBar.
Occurs when the accelerator key for this control is released.
index | Index in the accelerator map of the key |
Reimplemented in GuiButtonBaseCtrl.
Happens when a key is depressed.
event | Event descriptor (which contains the key) |
Reimplemented in GuiButtonBaseCtrl, GuiScrollCtrl, GuiTabBookCtrl, GuiWindowCtrl, GuiConsoleEditCtrl, GuiGameListMenuCtrl, GuiGameListOptionsCtrl, GuiMLTextCtrl, GuiMLTextEditCtrl, GuiPopupTextListCtrl, GuiPopUpMenuCtrl, GuiPopupTextListCtrlEx, GuiPopUpMenuCtrlEx, GuiTextEditCtrl, GuiTextEditSliderCtrl, GuiTextListCtrl, GuiTreeViewCtrl, GuiArrayCtrl, GuiEditCtrl, and GuiMenuTextListCtrl.
Happens when a key is released.
event | Event descriptor (which contains the key) |
Reimplemented in GuiButtonBaseCtrl.
Happens when a key is held down, resulting in repeated keystrokes.
event | Event descriptor (which contains the key) |
Reimplemented in GuiGameListMenuCtrl, and GuiGameListOptionsCtrl.
GuiControlProfile* GuiControl::getTooltipProfile | ( | ) |
Returns our tooltip profile (and finds the profile if it hasn't been set yet).
void GuiControl::setTooltipProfile | ( | GuiControlProfile * | prof | ) |
Sets the tooltip profile for this control.
prof | Tooltip profile to apply |
GuiControlProfile* GuiControl::getControlProfile | ( | ) |
Returns our profile (and finds the profile if it hasn't been set yet).
void GuiControl::setControlProfile | ( | GuiControlProfile * | prof | ) |
Sets the control profile for this control.
prof | Control profile to apply |
virtual void GuiControl::onAction | ( | ) | [virtual] |
Occurs when this control performs its "action".
Reimplemented in GuiButtonBaseCtrl, GuiCheckBoxCtrl, GuiPopUpMenuCtrl, GuiPopUpMenuCtrlEx, and GuiMenuBar.
virtual void GuiControl::onMessage | ( | GuiControl * | sender, | |
S32 | msg | |||
) | [virtual] |
virtual void GuiControl::onDialogPush | ( | ) | [virtual] |
Called if this object is a dialog, when it is added to the visible layers.
Reimplemented in GuiScriptNotifyCtrl.
virtual void GuiControl::onDialogPop | ( | ) | [virtual] |
Called if this object is a dialog, when it is removed from the visible layers.
Reimplemented in GuiScriptNotifyCtrl.
Renders justified text using the profile.
void GuiControl::inspectPostApply | ( | ) | [virtual] |
Called after any property of the object is changed in the world editor.
Reimplemented from SimObject.
Reimplemented in GuiBitmapButtonCtrl, GuiIconButtonCtrl, GuiToolboxButtonCtrl, GuiControlArrayControl, GuiDynamicCtrlArrayControl, GuiBitmapCtrl, GuiMLTextCtrl, GuiTextCtrl, GuiMessageVectorCtrl, and GuiTheoraCtrl.
void GuiControl::inspectPreApply | ( | ) | [virtual] |
Called before any property of the object is changed in the world editor.
The calling order here is:
Reimplemented from SimObject.
StringTableEntry GuiControl::mScriptFile [private] |
The script file this GUI was created from.
SimGroup* GuiControl::mAddGroup [private] |
The internal name of a SimGroup child of the global GuiGroup in which to organize this gui on creation.
RectI GuiControl::mBounds [private] |
The internal bounds of this control.
GuiControlProfile* GuiControl::mProfile [protected] |
The profile for this gui (data settings that are likely to be shared by multiple guis).
GuiControlProfile* GuiControl::mTooltipProfile [protected] |
The profile for any tooltips.
if true, then the GuiEditor can drag other controls into this one.
bool GuiControl::smDesignTime [static] |
static GuiControl boolean that specifies if the GUI Editor is active
GuiEditCtrl* GuiControl::smEditorHandle [static] |
static GuiEditCtrl pointer that gives controls access to editor-NULL if editor is closed
GuiControl* GuiControl::smPrevResponder [static] |
GuiControl* GuiControl::smCurResponder [static] |
S32 GuiControl::mHorizSizing [protected] |
Set from horizSizingOptions.
S32 GuiControl::mVertSizing [protected] |
Set from vertSizingOptions.
StringTableEntry GuiControl::mConsoleVariable [protected] |
StringTableEntry GuiControl::mConsoleCommand [protected] |
StringTableEntry GuiControl::mAltConsoleCommand [protected] |
StringTableEntry GuiControl::mAcceleratorKey [protected] |
StringTableEntry GuiControl::mTooltip [protected] |
GFXStateBlockRef GuiControl::mDefaultGuiSB [protected] |