Torque2D Reference
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
GuiFrameSetCtrl Class Reference

#include <guiFrameSetCtrl.h>

+ Inheritance diagram for GuiFrameSetCtrl:

Classes

class  Frame
 
struct  FrameDetail
 

Public Types

enum  {
  FRAME_STATE_ON , FRAME_STATE_OFF , FRAME_STATE_AUTO , NO_HIT = -1 ,
  DEFAULT_BORDER_WIDTH = 4 , DEFAULT_COLUMNS = 1 , DEFAULT_ROWS = 1 , DEFAULT_MIN_FRAME_EXTENT = 64
}
 
enum  Region { VERTICAL_DIVIDER , HORIZONTAL_DIVIDER , DIVIDER_INTERSECTION , NONE }
 
- Public Types inherited from GuiControl
enum  horizSizingOptions {
  horizResizeRight = 0 , horizResizeWidth , horizResizeLeft , horizResizeCenter ,
  horizResizeRelative , horizResizeFill
}
 
enum  vertSizingOptions {
  vertResizeBottom = 0 , vertResizeHeight , vertResizeTop , vertResizeCenter ,
  vertResizeRelative , vertResizeFill
}
 
enum  TextRotationOptions { tRotateNone = 0 , tRotateLeft , tRotateRight }
 
- Public Types inherited from SimSet
typedef SimObjectList::iterator iterator
 
typedef SimObjectList::value_type value
 
- Public Types inherited from SimObject
enum  WriteFlags { SelectedOnly = BIT(0) }
 

Public Member Functions

 DECLARE_CONOBJECT (GuiFrameSetCtrl)
 
 GuiFrameSetCtrl ()
 
 GuiFrameSetCtrl (U32 columns, U32 rows, const U32 columnOffsets[]=NULL, const U32 rowOffsets[]=NULL)
 
virtual ~GuiFrameSetCtrl ()
 
void addObject (SimObject *obj)
 
void removeObject (SimObject *obj)
 
virtual void resize (const Point2I &newPosition, const Point2I &newExtent)
 
virtual void onMouseDown (const GuiEvent &event)
 
virtual void onMouseUp (const GuiEvent &event)
 
virtual void onMouseDragged (const GuiEvent &event)
 
bool onAdd ()
 Called when this object is added to the scene.
 
void onRender (Point2I offset, const RectI &updateRect)
 
U32 columns () const
 
U32 rows () const
 
U32 borderWidth () const
 
Vector< S32 > * columnOffsets ()
 
Vector< S32 > * rowOffsets ()
 
FrameDetailframesetDetails ()
 
bool findFrameContents (S32 index, GuiControl **gc, FrameDetail **fd)
 
void frameBorderEnable (S32 index, const char *state=NULL)
 
void frameBorderMovable (S32 index, const char *state=NULL)
 
void frameMinExtent (S32 index, const Point2I &extent)
 
void balanceFrames ()
 
void updateSizes ()
 
bool onWake ()
 Called when this object is asked to wake up returns true if it's actually awake at the end.
 
 GuiFrameSetCtrl ()
 
 ~GuiFrameSetCtrl ()
 
bool onAdd ()
 Called when this object is added to the scene.
 
virtual void parentResized (const Point2I &oldParentExtent, const Point2I &newParentExtent)
 
void loadFrame (GuiFrameSetCtrl::Frame *frame, const U32 frameID)
 
void resize (const Point2I &newPosition, const Point2I &newExtent)
 
void inspectPostApply ()
 
bool onWake ()
 Called when this object is asked to wake up returns true if it's actually awake at the end.
 
void onSleep ()
 Called when this object is asked to sleep.
 
void onChildAdded (GuiControl *child)
 Called when this object has a new child. Congratulations!
 
void assignChildToFrame (GuiControl *child)
 
void onChildRemoved (GuiControl *child)
 Called when a child is removed.
 
void childResized (GuiControl *child)
 
void childMoved (GuiControl *child)
 
void childrenReordered ()
 Called when the children of this control may have been reordered.
 
void renderDropOptions (GuiWindowCtrl *window)
 
bool hasCenterButton (GuiFrameSetCtrl::Frame *frame)
 
void renderDropButton (const GuiFrameSetCtrl::Frame *frame, const RectI &buttonRect, const Point2I &cursorPt, const Point2I &fillPos, const Point2I &fillExt, GuiDirection direction)
 
void handleDropButtons (GuiWindowCtrl *window)
 
void undockWindowFromBook (GuiWindowCtrl *window, GuiTabBookCtrl *book, GuiTabPageCtrl *page)
 
void renderChild (GuiControl *ctrl, const Point2I &offset, const RectI &content, const RectI &clipRect)
 Renders a single child control.
 
GuiControlfindHitControl (const Point2I &pt, S32 initialLayer=-1)
 
Point2I splitFrame (S32 frameID, bool isVertical)
 
void splitFrame (GuiFrameSetCtrl::Frame *frame, GuiDirection direction)
 
void anchorFrame (GuiFrameSetCtrl::Frame *frame)
 
void anchorFrame (S32 frameID)
 
void setFrameSize (S32 frameID, S32 size)
 
void onPreRender ()
 Do special pre-render proecessing.
 
void onRender (Point2I offset, const RectI &updateRect)
 
void onTouchMove (const GuiEvent &event)
 
void onTouchDragged (const GuiEvent &event)
 
void onTouchDown (const GuiEvent &event)
 
void onTouchUp (const GuiEvent &event)
 
void getCursor (GuiCursor *&cursor, bool &showCursor, const GuiEvent &lastGuiEvent)
 
bool onMouseDownEditor (const GuiEvent &event, const Point2I &offset)
 
bool onMouseUpEditor (const GuiEvent &event, const Point2I &offset)
 
bool onMouseDraggedEditor (const GuiEvent &event, const Point2I &offset)
 
void setDropButtonProfile (GuiControlProfile *prof)
 
void setTabBookProfile (GuiControlProfile *prof)
 
void setTabProfile (GuiControlProfile *prof)
 
void setTabPageProfile (GuiControlProfile *prof)
 
void setControlLeftRightCursor (GuiCursor *cursor)
 
void setControlUpDownCursor (GuiCursor *cursor)
 
void writeFields (Stream &stream, U32 tabStop)
 
void generateFrameFields (Frame *frame)
 
void setDataField (const char *tag, const U32 id, const U32 value)
 
const char * getDataField (const char *tag, const U32 id)
 
 DECLARE_CONOBJECT (GuiFrameSetCtrl)
 
- Public Member Functions inherited from GuiControl
virtual bool isEditMode ()
 
virtual bool isEditSelected ()
 
virtual void getScrollLineSizes (U32 *rowHeight, U32 *columnWidth)
 
void awaken ()
 Called when this control and its children have been wired up.
 
void sleep ()
 Called when this control is no more.
 
void preRender ()
 Prerender this control and all its children.
 
bool sendScriptMouseEvent (const char *name, const GuiEvent &event)
 
bool sendScriptKeyEvent (const char *name, const InputEvent &event)
 
virtual bool onInputEvent (const InputEvent &event)
 General input handler.
 
virtual void onFocus (bool foundFirstResponder)
 
virtual bool ControlIsChild (GuiControl *child)
 
virtual void onAction ()
 Occurs when this control performs its "action".
 
void renderText (const Point2I &offset, const Point2I &extent, const char *text, GuiControlProfile *profile, TextRotationOptions rot=tRotateNone)
 
virtual void renderLineList (const Point2I &offset, const Point2I &extent, const S32 startOffsetY, const vector< string > lineList, GuiControlProfile *profile, const TextRotationOptions rot=tRotateNone)
 
virtual vector< string > getLineList (const char *text, GuiControlProfile *profile, S32 totalWidth)
 
virtual void renderTextLine (const Point2I &startPoint, const string line, GuiControlProfile *profile, F32 rotationInDegrees, U32 ibeamPosAtLineStart, U32 lineNumber)
 
RectI applyMargins (Point2I &offset, Point2I &extent, GuiControlState currentState, GuiControlProfile *profile)
 Returns a new rect based on the margins.
 
RectI applyBorders (Point2I &offset, Point2I &extent, GuiControlState currentState, GuiControlProfile *profile)
 Returns the bounds of the rect after considering the borders.
 
RectI applyPadding (Point2I &offset, Point2I &extent, GuiControlState currentState, GuiControlProfile *profile)
 Returns the bounds of the rect this time with padding.
 
RectI getInnerRect (GuiControlState currentState=GuiControlState::NormalState)
 Returns the bounds of the rect with margin, borders, and padding applied.
 
RectI getInnerRect (Point2I &offset, GuiControlState currentState=GuiControlState::NormalState)
 
virtual RectI getInnerRect (Point2I &offset, Point2I &extent, GuiControlState currentState, GuiControlProfile *profile)
 
Point2I getOuterExtent (Point2I &innerExtent, GuiControlState currentState, GuiControlProfile *profile)
 Returns the extent of the outer rect given the extent of the inner rect.
 
S32 getOuterWidth (S32 innerExtent, GuiControlState currentState, GuiControlProfile *profile)
 
S32 getOuterHeight (S32 innerExtent, GuiControlState currentState, GuiControlProfile *profile)
 
virtual void inspectPreApply ()
 
Point2I extentBattery (Point2I &newExtent)
 
void resetStoredExtent ()
 
Point2F relPosBatteryH (S32 pos, S32 ext, S32 parentExt)
 
Point2F relPosBatteryV (S32 pos, S32 ext, S32 parentExt)
 
void relPosBattery (Point2F &battery, S32 pos, S32 ext, S32 parentExt)
 
void resetStoredRelPos ()
 
virtual void setDataField (StringTableEntry slotName, const char *array, const char *value)
 
void setSizing (S32 horz, S32 vert)
 
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.
 
virtual void setVisible (bool value)
 
bool isVisible ()
 Returns true if the object is visible.
 
virtual void setActive (bool value)
 
bool isActive ()
 Returns true if this control is active.
 
bool isAwake ()
 Returns true if this control is awake.
 
GuiControlgetParent ()
 Returns the control which owns this one.
 
GuiCanvasgetRoot ()
 Returns the root canvas of this control.
 
virtual Point2I localToGlobalCoord (const Point2I &src)
 
virtual Point2I globalToLocalCoord (const Point2I &src)
 
virtual void setPosition (const Point2I &newPosition)
 
virtual void setExtent (const Point2I &newExtent)
 
virtual void setBounds (const RectI &newBounds)
 
virtual void setLeft (S32 newLeft)
 
virtual void setTop (S32 newTop)
 
virtual void setWidth (S32 newWidth)
 
virtual void setHeight (S32 newHeight)
 
void preventResizeModeFill ()
 Removes the resize mode of fill and changes it to right or bottom.
 
void preventResizeModeCenter ()
 Removes the resize mode of center and changes it to right or bottom.
 
virtual bool renderTooltip (Point2I &cursorPos, const char *tipText=NULL)
 
virtual void renderChildControls (const Point2I &offset, const RectI &content, const RectI &updateRect)
 
void setUpdateRegion (Point2I pos, Point2I ext)
 
virtual void setUpdate ()
 Sets the update area of the control to encompass the whole control.
 
virtual void onRemove ()
 Called when this object is removed using delete.
 
virtual void onGroupRemove ()
 Called when this object is removed using delete or parent.remove().
 
virtual bool pointInControl (const Point2I &parentCoordPoint)
 
bool cursorInControl ()
 Returns true if the global cursor is inside this control.
 
virtual void mouseLock (GuiControl *lockingControl)
 
virtual void mouseLock ()
 Turn on mouse locking with last used lock control.
 
virtual void mouseUnlock ()
 Unlock the mouse.
 
virtual bool isMouseLocked ()
 Returns true if the mouse is locked.
 
virtual void onTouchEnter (const GuiEvent &event)
 
virtual void onTouchLeave (const GuiEvent &event)
 
virtual void onMouseWheelUp (const GuiEvent &event)
 
virtual void 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)
 
virtual bool onRightMouseDownEditor (const GuiEvent &event, const Point2I &offset)
 
virtual GuiControlfindFirstTabable ()
 Find the first tab-accessable child of this control.
 
virtual GuiControlfindLastTabable (bool firstCall=true)
 
virtual GuiControlfindPrevTabable (GuiControl *curResponder, bool firstCall=true)
 
virtual GuiControlfindNextTabable (GuiControl *curResponder, bool firstCall=true)
 
virtual void setFirstResponder (GuiControl *firstResponder)
 
virtual void makeFirstResponder (bool value)
 
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.
 
void clearFirstResponder (GuiControl *target)
 
GuiControlgetFirstResponder ()
 Returns the first responder for this chain.
 
virtual void onLoseFirstResponder ()
 Occurs when the first responder for this chain is lost.
 
void addAcceleratorKey ()
 Adds the accelerator key for this object to the canvas.
 
virtual void buildAcceleratorMap ()
 
virtual void acceleratorKeyPress (U32 index)
 
virtual void acceleratorKeyRelease (U32 index)
 
virtual bool onKeyDown (const GuiEvent &event)
 
virtual bool onKeyUp (const GuiEvent &event)
 
virtual bool onKeyRepeat (const GuiEvent &event)
 
void messageSiblings (S32 message)
 Send a message to all siblings.
 
virtual void onMessage (GuiControl *sender, S32 msg)
 Receive a message from another control.
 
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.
 
void setConsoleVariable (const char *variable)
 
void setConsoleCommand (const char *newCmd)
 
const char * getConsoleCommand ()
 Returns the name of the function bound to this GuiControl.
 
LangTablegetGUILangTable (void)
 
const UTF8 * getGUIString (S32 id)
 
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.
 
 DECLARE_CONOBJECT (GuiControl)
 
 GuiControl ()
 
virtual ~GuiControl ()
 
const Point2IgetPosition ()
 Returns position of the control.
 
const Point2IgetExtent ()
 Returns extents of the control.
 
const RectIgetBounds ()
 Returns the bounds of the control.
 
const Point2IgetMinExtent ()
 Returns minimum size the control can be.
 
const S32 getLeft ()
 Returns the X position of the control.
 
const S32 getTop ()
 Returns the Y position of the control.
 
const S32 getWidth ()
 Returns the width of the control.
 
const S32 getHeight ()
 Returns the height of the control.
 
virtual void setText (const char *text)
 
virtual void setTextID (S32 id)
 
virtual void setTextID (const char *id)
 
virtual const char * getText ()
 
void setTextWrap (const bool wrap)
 
bool getTextWrap ()
 
void setTextExtend (const bool extend)
 
bool getTextExtend ()
 
const horizSizingOptions getHorizSizing ()
 
const vertSizingOptions getVertSizing ()
 
void setHorizSizing (const horizSizingOptions sizing)
 
void setVertSizing (const vertSizingOptions sizing)
 
- Public Member Functions inherited from SimGroup
 ~SimGroup ()
 
void addObject (SimObject *, SimObjectId)
 
void addObject (SimObject *, const char *name)
 
virtual void onChildRemoved (SimObject *)
 
virtual SimObjectfindObject (const char *name)
 Find an object in the group.
 
bool processArguments (S32 argc, const char **argv)
 Process constructor options. (ie, new SimObject(1,2,3))
 
 DECLARE_CONOBJECT (SimGroup)
 
- Public Member Functions inherited from SimSet
 SimSet ()
 
 ~SimSet ()
 
virtual void onDeleteNotify (SimObject *object)
 
virtual U32 getTamlChildCount (void) const
 Called when Taml attempts to compile a list of children.
 
virtual SimObjectgetTamlChild (const U32 childIndex) const
 Called when Taml attempts to compile a list of children.
 
virtual void addTamlChild (SimObject *pSimObject)
 Called when Taml attempts to populate an objects children during a read.
 
void callOnChildren (const char *method, S32 argc, const char *argv[], bool executeOnChildGroups=true)
 
SimObjectfindObjectByInternalName (const char *internalName, bool searchChildren=false)
 
virtual bool writeObject (Stream *stream)
 
virtual bool readObject (Stream *stream)
 
void lock ()
 
void unlock ()
 
 DECLARE_CONOBJECT (SimSet)
 
void _setVectorAssoc (const char *file, const U32 line)
 
virtual void pushObject (SimObject *)
 
virtual void popObject ()
 Remove an object from the end of the list.
 
void bringObjectToFront (SimObject *obj)
 
void pushObjectToBack (SimObject *obj)
 
SimObjectfront ()
 
SimObjectfirst ()
 
SimObjectlast ()
 
bool empty ()
 
S32 size () const
 
iterator begin ()
 
iterator end ()
 
value operator[] (S32 index)
 
iterator find (iterator first, iterator last, SimObject *obj)
 
iterator find (SimObject *obj)
 
template<typename T >
bool containsType (void)
 
bool isMember (SimObject *obj)
 
virtual bool reOrder (SimObject *obj, SimObject *target=0)
 
SimObjectat (S32 index) const
 
void deleteObjects (void)
 
void clear ()
 
- Public Member Functions inherited from SimObject
StringTableEntry getClassNamespace () const
 
StringTableEntry getSuperClassNamespace () const
 
void setClassNamespace (const char *classNamespace)
 
void setSuperClassNamespace (const char *superClassNamespace)
 
void pushScriptCallbackGuard (void)
 
void popScriptCallbackGuard (void)
 
S32 getScriptCallbackGuard (void)
 
NamespacegetNamespace ()
 Return the object's namespace.
 
const char * tabComplete (const char *prevText, S32 baseLen, bool)
 
virtual void dump ()
 
virtual void dumpClassHierarchy ()
 
SimObjectclone (const bool copyDynamicFields)
 
virtual void copyTo (SimObject *object)
 
template<typename T >
bool isType (void)
 
virtual bool handlesConsoleMethod (const char *fname, S32 *routingId)
 
 DECLARE_CONOBJECT (SimObject)
 
NotifyremoveNotify (void *ptr, Notify::Type)
 Remove a notification from the list.
 
void deleteNotify (SimObject *obj)
 Notify an object when we are deleted.
 
void clearNotify (SimObject *obj)
 Notify an object when we are cleared.
 
void clearAllNotifications ()
 Remove all notifications for this object.
 
void processDeleteNotifies ()
 Send out deletion notifications.
 
void registerReference (SimObject **obj)
 
void unregisterReference (SimObject **obj)
 
void addListener (std::string objID)
 
void removeListener (std::string objID)
 
void removeAllListeners ()
 
void postEvent (std::string eventName, std::string data)
 
const char * getDataField (StringTableEntry slotName, const char *array)
 
const char * getPrefixedDataField (StringTableEntry fieldName, const char *array)
 
void setPrefixedDataField (StringTableEntry fieldName, const char *array, const char *value)
 
const char * getPrefixedDynamicDataField (StringTableEntry fieldName, const char *array, const S32 fieldType=-1)
 
void setPrefixedDynamicDataField (StringTableEntry fieldName, const char *array, const char *value, const S32 fieldType=-1)
 
StringTableEntry getDataFieldPrefix (StringTableEntry fieldName)
 
U32 getDataFieldType (StringTableEntry slotName, const char *array)
 
SimFieldDictionarygetFieldDictionary ()
 
void clearDynamicFields (void)
 Clear all dynamic fields.
 
void setCanSaveDynamicFields (bool bCanSave)
 Set whether fields created at runtime should be saved. Default is true.
 
bool getCanSaveDynamicFields (void) const
 Get whether fields created at runtime should be saved. Default is true.
 
void setInternalName (const char *newname)
 
StringTableEntry getInternalName ()
 Get the internal of of this control.
 
virtual bool save (const char *pcFilePath, bool bOnlySelected=false)
 Save object as a TorqueScript File.
 
virtual bool isMethod (const char *methodName)
 Check if a method exists in the objects current namespace.
 
SimObjectId getId (void) const
 
StringTableEntry getIdString (void) const
 
U32 getType () const
 
const StringTableEntry getName (void) const
 
void setId (SimObjectId id)
 
void assignName (const char *name)
 
SimGroupgetGroup () const
 
bool isChildOfGroup (SimGroup *pGroup)
 
bool isProperlyAdded () const
 
bool isDeleted () const
 
bool isRemoved () const
 
bool isLocked () const
 
void setLocked (bool b)
 
bool isHidden () const
 
void setHidden (bool b)
 
void setProgenitorFile (const char *pFile)
 
StringTableEntry getProgenitorFile (void) const
 
void setPeriodicTimerID (const S32 timerID)
 
S32 getPeriodicTimerID (void) const
 
bool isPeriodicTimerActive (void) const
 
bool isSelected () const
 
bool isExpanded () const
 
void setSelected (bool sel)
 
void setExpanded (bool exp)
 
void setModDynamicFields (bool dyn)
 
void setModStaticFields (bool sta)
 
 SimObject ()
 
virtual ~SimObject ()
 
virtual void onGroupAdd ()
 Called when the object is added to a SimGroup.
 
virtual void onNameChange (const char *name)
 Called when the object's name is changed.
 
virtual void onStaticModified (const char *slotName, const char *newValue=NULL)
 
virtual void onEditorEnable ()
 Called when the editor is activated.
 
virtual void onEditorDisable ()
 Called when the editor is deactivated.
 
bool registerObject ()
 
bool registerObject (U32 id)
 
bool registerObject (const char *name)
 
bool registerObject (const char *name, U32 id)
 
void unregisterObject ()
 
void deleteObject ()
 
bool addToSet (SimObjectId)
 
bool addToSet (const char *)
 
bool removeFromSet (SimObjectId)
 
bool removeFromSet (const char *)
 
virtual bool writeField (StringTableEntry fieldname, const char *value)
 
virtual void buildFilterList ()
 
void addFieldFilter (const char *fieldName)
 
void removeFieldFilter (const char *fieldName)
 
void clearFieldFilters ()
 
bool isFiltered (const char *fieldName)
 
void assignFieldsFrom (SimObject *obj)
 
void assignDynamicFieldsFrom (SimObject *obj)
 
- Public Member Functions inherited from ConsoleObject
const AbstractClassRep::FieldfindField (StringTableEntry fieldName) const
 Get a reference to a field by name.
 
virtual AbstractClassRepgetClassRep () const
 Gets the ClassRep.
 
bool setField (const char *fieldName, const char *value)
 Set the value of a field.
 
virtual ~ConsoleObject ()
 
const AbstractClassRep::FieldListgetFieldList () const
 Get a list of all the fields. This information cannot be modified.
 
AbstractClassRep::FieldListgetModifiableFieldList ()
 
bool & getDynamicGroupExpand ()
 
S32 getClassId (U32 netClassGroup) const
 
const char * getClassName () const
 
- Public Member Functions inherited from Tickable
 Tickable ()
 
virtual ~Tickable ()
 
virtual bool isProcessingTicks () const
 
virtual void setProcessTicks (bool tick=true)
 
- Public Member Functions inherited from GuiEasingSupport
 GuiEasingSupport ()
 
virtual void setControlProfile (GuiControlProfile *prof)
 
const ColorIgetFillColor (const GuiControlState state)
 
virtual void processTick ()
 
const char * getEasingFunctionDescription (const EasingFunction ease)
 

Static Public Member Functions

static void initPersistFields ()
 
static void initPersistFields ()
 
static bool setBookProfileFn (void *obj, const char *data)
 
static bool setTabProfileFn (void *obj, const char *data)
 
static bool setPageProfileFn (void *obj, const char *data)
 
- Static Public Member Functions inherited from GuiControl
static void initPersistFields ()
 
static bool setTextProperty (void *obj, const char *data)
 
static const char * getTextProperty (void *obj, const char *data)
 
static bool writeTextWrapFn (void *obj, const char *data)
 
static bool writeTextExtendFn (void *obj, const char *data)
 
static bool setExtentFn (void *obj, const char *data)
 
static bool setMinExtentFn (void *obj, const char *data)
 
static bool writeMinExtentFn (void *obj, const char *data)
 
static bool setPositionFn (void *obj, const char *data)
 
- Static Public Member Functions inherited from SimObject
static void initPersistFields ()
 
- Static Public Member Functions inherited from ConsoleObject
static const char * lookupClassName (const U32 in_classTag)
 Get the classname from a class tag.
 
static void initPersistFields ()
 
static void consoleInit ()
 
static AbstractClassRepgetStaticClassRep ()
 Get the abstract class information for this class.
 
static AbstractClassRepgetParentStaticClassRep ()
 Get the abstract class information for this class's superclass.
 
static ConsoleObjectcreate (const char *in_pClassName)
 
static ConsoleObjectcreate (const U32 groupId, const U32 typeId, const U32 in_classId)
 
- Static Public Member Functions inherited from Tickable
static bool advanceTime (U32 timeDelta)
 
- Static Public Member Functions inherited from GuiEasingSupport
static void initPersistFields ()
 

Public Attributes

Frame mRootFrame
 
FramemHitDivider
 
FramemOldHitDivider
 
U8 mDividerThickness
 
const S32 minSize = 20
 
GuiControlProfilemTabBookProfile
 
GuiControlProfilemTabProfile
 
GuiControlProfilemTabPageProfile
 
- Public Attributes inherited from GuiControl
GuiControlProfilemProfile
 
GuiControlProfilemTooltipProfile
 
S32 mTipHoverTime
 
S32 mTooltipWidth
 
bool mVisible
 
bool mActive
 
bool mAwake
 
bool mSetFirstResponder
 
bool mCanSave
 
bool mIsContainer
 if true, then the GuiEditor can drag other controls into this one.
 
bool mUseInput
 True if input events like a click can be passed to this gui. False will pass events to the parent and this object and its children will not process input (touch and keyboard).
 
S32 mLayer
 
RectI mBounds
 
Point2I mMinExtent
 
Point2I mRenderInsetLT
 
Point2I mRenderInsetRB
 Add this to the mBounds and parent offset to get the true render location of the control.
 
StringTableEntry mLangTableName
 The actual rendered inset for the right and bottom sides.
 
LangTablemLangTable
 
GuiControlmFirstResponder
 
- Public Attributes inherited from GuiEasingSupport
EasingFunction mEaseFillColorHL
 
EasingFunction mEaseFillColorSL
 
S32 mEaseTimeFillColorHL
 
S32 mEaseTimeFillColorSL
 

Protected Member Functions

bool init (U32 columns, U32 rows, const U32 columnOffsets[], const U32 rowOffsets[])
 
Region findHitRegion (const Point2I &point)
 
Region pointInAnyRegion (const Point2I &point)
 
S32 findResizableFrames (S32 indexes[])
 
bool hitVerticalDivider (S32 x, const Point2I &point)
 
bool hitHorizontalDivider (S32 y, const Point2I &point)
 
virtual void getCursor (GuiCursor *&cursor, bool &showCursor, const GuiEvent &lastGuiEvent)
 
void rebalance (const Point2I &newExtent)
 
void computeSizes (bool balanceFrames=false)
 
void computeMovableRange (Region hitRegion, S32 vertHit, S32 horzHit, S32 numIndexes, const S32 indexes[], S32 ranges[])
 
void drawDividers (const Point2I &offset)
 
void onTamlCustomWrite (TamlCustomNodes &customNodes)
 Called during the writing of the object to allow custom properties to be written.
 
void writeFrameCustomTaml (TamlCustomNode *pParentNode, Frame *frame)
 
void onTamlCustomRead (const TamlCustomNodes &customNodes)
 Called during the reading of the object to allow custom properties to be read.
 
void loadTamlFrames (const TamlCustomNodes &customNodes)
 
void loadTamlFrame (const TamlCustomNode &node, Frame *frame)
 
- Protected Member Functions inherited from GuiControl
virtual void interpolateTick (F32 delta)
 
virtual void advanceTime (F32 timeDelta)
 
S32 getTextHorizontalOffset (S32 textWidth, S32 totalWidth, AlignmentType align)
 
S32 getTextVerticalOffset (S32 textHeight, S32 totalHeight, VertAlignmentType align)
 
AlignmentType getAlignmentType ()
 
VertAlignmentType getVertAlignmentType ()
 
AlignmentType getAlignmentType (GuiControlProfile *profile)
 
VertAlignmentType getVertAlignmentType (GuiControlProfile *profile)
 
const ColorIgetFontColor (GuiControlProfile *profile, const GuiControlState state=GuiControlState::NormalState)
 
const char * execConsoleCallback ()
 Executes mConsoleCommand, and returns the result.
 
const char * execAltConsoleCallback ()
 Executes mAltConsoleCommand, and returns the result.
 
void setVariable (const char *value)
 
void setIntVariable (S32 value)
 
void setFloatVariable (F32 value)
 
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.
 
- Protected Member Functions inherited from SimObject
virtual void onTamlPreWrite (void)
 Taml callbacks.
 
virtual void onTamlPostWrite (void)
 Called after Taml has finished writing the object.
 
virtual void onTamlPreRead (void)
 Called prior to Taml reading the object.
 
virtual void onTamlPostRead (const TamlCustomNodes &customNodes)
 
virtual void onTamlAddParent (SimObject *pParentObject)
 Called after Taml has finished reading the object and has added the object to any parent.
 
void linkNamespaces ()
 
void unlinkNamespaces ()
 
- Protected Member Functions inherited from ConsoleObject
 ConsoleObject ()
 
 ConsoleObject (const ConsoleObject &)
 

Protected Attributes

Vector< S32 > mColumnOffsets
 
Vector< S32 > mRowOffsets
 
GuiCursormMoveCursor
 
GuiCursormUpDownCursor
 
GuiCursormLeftRightCursor
 
GuiCursormDefaultCursor
 
FrameDetail mFramesetDetails
 
VectorPtr< FrameDetail * > mFrameDetails
 
bool mAutoBalance
 
S32 mFudgeFactor
 
Region mCurHitRegion
 
Point2I mLocOnDivider
 
S32 mCurVerticalHit
 
S32 mCurHorizontalHit
 
- Protected Attributes inherited from GuiControl
bool mPreviouslyAwake
 
S32 mHorizSizing
 Set from horizSizingOptions.
 
S32 mVertSizing
 Set from vertSizingOptions.
 
Point2I mStoredExtent
 
Point2F mStoredRelativePosH
 
Point2F mStoredRelativePosV
 
bool mUseRelPosH
 
bool mUseRelPosV
 
StringTableEntry mConsoleVariable
 
StringTableEntry mConsoleCommand
 
StringTableEntry mAltConsoleCommand
 
StringTableEntry mAcceleratorKey
 
StringTableEntry mTooltip
 
StringTableEntry mText
 
StringTableEntry mTextID
 
bool mTextWrap
 
bool mTextExtend
 
AlignmentType mAlignment
 
VertAlignmentType mVAlignment
 
F32 mFontSizeAdjust
 
ColorI mFontColor
 
bool mOverrideFontColor
 
- Protected Attributes inherited from SimSet
SimObjectList objectList
 
void * mMutex
 
- Protected Attributes inherited from SimObject
SimObjectId mId
 Id number for this object.
 
StringTableEntry mIdString
 
NamespacemNameSpace
 
U32 mTypeMask
 
S32 mScriptCallbackGuard
 Whether the object is executing a script callback.
 
bool mCanSaveFieldDictionary
 true if dynamic fields (added at runtime) should be saved, defaults to true
 
StringTableEntry mInternalName
 Stores object Internal Name.
 
StringTableEntry mClassName
 Stores the class name to link script class namespaces.
 
StringTableEntry mSuperClassName
 Stores super class name to link script class namespaces.
 
- Protected Attributes inherited from GuiEasingSupport
FluidColorI mFluidFillColor
 
GuiControlState mPreviousState
 
GuiControlState mCurrentState
 

Additional Inherited Members

- Static Public Attributes inherited from GuiControl
static GuiEditCtrlsmEditorHandle = NULL
 static GuiEditCtrl pointer that gives controls access to editor-NULL if editor is closed
 
static S32 smCursorChanged = -1
 Has this control modified the cursor? -1 or type.
 
static bool smDesignTime = false
 static GuiControl boolean that specifies if the GUI Editor is active
 
static GuiControlsmPrevResponder = NULL
 
static GuiControlsmCurResponder = NULL
 
- Static Public Attributes inherited from SimObject
static bool disableNameChanging = false
 
- Static Public Attributes inherited from Tickable
static const U32 smTickShift = 4
 Shift value to control how often Ticks occur.
 
static const U32 smTickMs = ( 1 << smTickShift )
 Number of milliseconds per tick, 32 in this case.
 
static const F32 smTickSec = ( F32( Tickable::smTickMs ) / 1000.f )
 Fraction of a second per tick.
 
static const U32 smTickMask = ( smTickMs - 1 )
 
- Static Protected Member Functions inherited from SimObject
static bool setClass (void *obj, const char *data)
 
static bool setSuperClass (void *obj, const char *data)
 
static bool writeObjectName (void *obj, StringTableEntry pFieldName)
 
static bool writeCanSaveDynamicFields (void *obj, StringTableEntry pFieldName)
 
static bool writeInternalName (void *obj, StringTableEntry pFieldName)
 
static bool setParentGroup (void *obj, const char *data)
 
static bool writeParentGroup (void *obj, StringTableEntry pFieldName)
 
static bool writeSuperclass (void *obj, StringTableEntry pFieldName)
 
static bool writeClass (void *obj, StringTableEntry pFieldName)
 
static bool setProtectedName (void *obj, const char *data)
 
static SimObject::NotifyallocNotify ()
 Get a free Notify structure.
 
static void freeNotify (SimObject::Notify *)
 Mark a Notify structure as free.
 
- Static Protected Member Functions inherited from ConsoleObject
static void addGroup (const char *in_pGroupname, const char *in_pGroupDocs=NULL)
 
static void endGroup (const char *in_pGroupname)
 
static void addField (const char *in_pFieldname, const U32 in_fieldType, const dsize_t in_fieldOffset, const U32 in_elementCount=1, EnumTable *in_table=NULL, const char *in_pFieldDocs=NULL)
 
static void addField (const char *in_pFieldname, const U32 in_fieldType, const dsize_t in_fieldOffset, AbstractClassRep::WriteDataNotify in_writeDataFn, const U32 in_elementCount=1, EnumTable *in_table=NULL, const char *in_pFieldDocs=NULL)
 
static void addField (const char *in_pFieldname, const U32 in_fieldType, const dsize_t in_fieldOffset, const char *in_pFieldDocs)
 
static void addField (const char *in_pFieldname, const U32 in_fieldType, const dsize_t in_fieldOffset, AbstractClassRep::WriteDataNotify in_writeDataFn, const char *in_pFieldDocs)
 
static void addFieldV (const char *in_pFieldname, const U32 in_fieldType, const dsize_t in_fieldOffset, ConsoleTypeValidator *v, const char *in_pFieldDocs=NULL)
 
static void addProtectedField (const char *in_pFieldname, const U32 in_fieldType, const dsize_t in_fieldOffset, AbstractClassRep::SetDataNotify in_setDataFn, AbstractClassRep::GetDataNotify in_getDataFn=&defaultProtectedGetFn, const U32 in_elementCount=1, EnumTable *in_table=NULL, const char *in_pFieldDocs=NULL)
 
static void addProtectedField (const char *in_pFieldname, const U32 in_fieldType, const dsize_t in_fieldOffset, AbstractClassRep::SetDataNotify in_setDataFn, AbstractClassRep::GetDataNotify in_getDataFn=&defaultProtectedGetFn, AbstractClassRep::WriteDataNotify in_writeDataFn=&defaultProtectedWriteFn, const U32 in_elementCount=1, EnumTable *in_table=NULL, const char *in_pFieldDocs=NULL)
 
static void addProtectedField (const char *in_pFieldname, const U32 in_fieldType, const dsize_t in_fieldOffset, AbstractClassRep::SetDataNotify in_setDataFn, AbstractClassRep::GetDataNotify in_getDataFn=&defaultProtectedGetFn, const char *in_pFieldDocs=NULL)
 
static void addProtectedField (const char *in_pFieldname, const U32 in_fieldType, const dsize_t in_fieldOffset, AbstractClassRep::SetDataNotify in_setDataFn, AbstractClassRep::GetDataNotify in_getDataFn=&defaultProtectedGetFn, AbstractClassRep::WriteDataNotify in_writeDataFn=&defaultProtectedWriteFn, const char *in_pFieldDocs=NULL)
 
static void addDepricatedField (const char *fieldName)
 
static bool removeField (const char *in_pFieldname)
 
- Static Protected Attributes inherited from SimObject
static SimObject::NotifymNotifyFreeList = NULL
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
FRAME_STATE_ON 
FRAME_STATE_OFF 
FRAME_STATE_AUTO 
NO_HIT 
DEFAULT_BORDER_WIDTH 
DEFAULT_COLUMNS 
DEFAULT_ROWS 
DEFAULT_MIN_FRAME_EXTENT 

◆ Region

enum Region
Enumerator
VERTICAL_DIVIDER 
HORIZONTAL_DIVIDER 
DIVIDER_INTERSECTION 
NONE 

Constructor & Destructor Documentation

◆ GuiFrameSetCtrl() [1/3]

◆ GuiFrameSetCtrl() [2/3]

GuiFrameSetCtrl ( U32  columns,
U32  rows,
const U32  columnOffsets[] = NULL,
const U32  rowOffsets[] = NULL 
)

◆ ~GuiFrameSetCtrl() [1/2]

~GuiFrameSetCtrl ( )
virtual

◆ GuiFrameSetCtrl() [3/3]

◆ ~GuiFrameSetCtrl() [2/2]

Member Function Documentation

◆ addObject()

void addObject ( SimObject obj)
virtual

Adds an object as a child of this object.

Parameters
objNew child object of this control

Reimplemented from GuiControl.

◆ anchorFrame() [1/2]

void anchorFrame ( GuiFrameSetCtrl::Frame frame)

◆ anchorFrame() [2/2]

void anchorFrame ( S32  frameID)

◆ assignChildToFrame()

void assignChildToFrame ( GuiControl child)

◆ balanceFrames()

void balanceFrames ( )
inline

◆ borderWidth()

U32 borderWidth ( ) const
inline

◆ childMoved()

void childMoved ( GuiControl child)
virtual

Called when a child control of the object is moved

Parameters
childChild object

Reimplemented from GuiControl.

◆ childrenReordered()

void childrenReordered ( )
virtual

Called when the children of this control may have been reordered.

Reimplemented from GuiControl.

◆ childResized()

void childResized ( GuiControl child)
virtual

Called when a child control of the object is resized

Parameters
childChild object

Reimplemented from GuiControl.

◆ columnOffsets()

Vector< S32 > * columnOffsets ( )
inline

◆ columns()

U32 columns ( ) const
inline

◆ computeMovableRange()

void computeMovableRange ( Region  hitRegion,
S32  vertHit,
S32  horzHit,
S32  numIndexes,
const S32  indexes[],
S32  ranges[] 
)
protected

◆ computeSizes()

void computeSizes ( bool  balanceFrames = false)
protected

◆ DECLARE_CONOBJECT() [1/2]

DECLARE_CONOBJECT ( GuiFrameSetCtrl  )

◆ DECLARE_CONOBJECT() [2/2]

DECLARE_CONOBJECT ( GuiFrameSetCtrl  )

◆ drawDividers()

void drawDividers ( const Point2I offset)
protected

◆ findFrameContents()

bool findFrameContents ( S32  index,
GuiControl **  gc,
FrameDetail **  fd 
)

◆ findHitControl()

GuiControl * findHitControl ( const Point2I pt,
S32  initialLayer = -1 
)
virtual

Returns the control which the provided point is under, with layering

Parameters
ptPoint to test
initialLayerLayer of gui objects to begin the search

Reimplemented from GuiControl.

◆ findHitRegion()

GuiFrameSetCtrl::Region findHitRegion ( const Point2I point)
protected

◆ findResizableFrames()

S32 findResizableFrames ( S32  indexes[])
protected

◆ frameBorderEnable()

void frameBorderEnable ( S32  index,
const char *  state = NULL 
)

◆ frameBorderMovable()

void frameBorderMovable ( S32  index,
const char *  state = NULL 
)

◆ frameMinExtent()

void frameMinExtent ( S32  index,
const Point2I extent 
)

◆ framesetDetails()

FrameDetail * framesetDetails ( )
inline

◆ generateFrameFields()

void generateFrameFields ( GuiFrameSetCtrl::Frame frame)

◆ getCursor() [1/2]

void getCursor ( GuiCursor *&  cursor,
bool &  showCursor,
const GuiEvent lastGuiEvent 
)
protectedvirtual

Get information about the cursor.

Parameters
cursorCursor information will be stored here
showCursorWill be set to true if the cursor is visible
lastGuiEventGuiEvent containing cursor position and modifyer keys (ie ctrl, shift, alt etc)

Reimplemented from GuiControl.

◆ getCursor() [2/2]

void getCursor ( GuiCursor *&  cursor,
bool &  showCursor,
const GuiEvent lastGuiEvent 
)
virtual

Get information about the cursor.

Parameters
cursorCursor information will be stored here
showCursorWill be set to true if the cursor is visible
lastGuiEventGuiEvent containing cursor position and modifyer keys (ie ctrl, shift, alt etc)

Reimplemented from GuiControl.

◆ getDataField()

const char * getDataField ( const char *  tag,
const U32  id 
)

◆ handleDropButtons()

void handleDropButtons ( GuiWindowCtrl window)

◆ hasCenterButton()

bool hasCenterButton ( GuiFrameSetCtrl::Frame frame)

◆ hitHorizontalDivider()

bool hitHorizontalDivider ( S32  y,
const Point2I point 
)
inlineprotected

◆ hitVerticalDivider()

bool hitVerticalDivider ( S32  x,
const Point2I point 
)
inlineprotected

◆ init()

bool init ( U32  columns,
U32  rows,
const U32  columnOffsets[],
const U32  rowOffsets[] 
)
protected

◆ initPersistFields() [1/2]

void initPersistFields ( )
static

◆ initPersistFields() [2/2]

static void initPersistFields ( )
static

◆ inspectPostApply()

void inspectPostApply ( )
virtual

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

See also
inspectPreApply

Reimplemented from GuiControl.

◆ loadFrame()

void loadFrame ( GuiFrameSetCtrl::Frame frame,
const U32  frameID 
)

◆ loadTamlFrame()

void loadTamlFrame ( const TamlCustomNode node,
GuiFrameSetCtrl::Frame frame 
)
protected

◆ loadTamlFrames()

void loadTamlFrames ( const TamlCustomNodes customNodes)
protected

◆ onAdd() [1/2]

bool onAdd ( void  )
virtual

Called when this object is added to the scene.

Reimplemented from GuiControl.

◆ onAdd() [2/2]

bool onAdd ( void  )
virtual

Called when this object is added to the scene.

Reimplemented from GuiControl.

◆ onChildAdded()

void onChildAdded ( GuiControl child)
virtual

Called when this object has a new child. Congratulations!

Reimplemented from GuiControl.

◆ onChildRemoved()

void onChildRemoved ( GuiControl child)
virtual

Called when a child is removed.

Reimplemented from GuiControl.

◆ onMouseDown()

void onMouseDown ( const GuiEvent event)
virtual

◆ onMouseDownEditor()

bool onMouseDownEditor ( const GuiEvent event,
const Point2I offset 
)
virtual

Called when a mouseDown event occurs on a control and the GUI editor is active

Parameters
eventthe GuiEvent which caused the call to this function
offsetthe offset which is representative of the units x and y that the editor takes up on screen

Reimplemented from GuiControl.

◆ onMouseDragged()

void onMouseDragged ( const GuiEvent event)
virtual

◆ onMouseDraggedEditor()

bool onMouseDraggedEditor ( const GuiEvent event,
const Point2I offset 
)
virtual

Called when a mouseDragged event occurs on a control and the GUI editor is active

Parameters
eventthe GuiEvent which caused the call to this function
offsetthe offset which is representative of the units x and y that the editor takes up on screen

Reimplemented from GuiControl.

◆ onMouseUp()

void onMouseUp ( const GuiEvent event)
virtual

◆ onMouseUpEditor()

bool onMouseUpEditor ( const GuiEvent event,
const Point2I offset 
)
virtual

Called when a mouseUp event occurs on a control and the GUI editor is active

Parameters
eventthe GuiEvent which caused the call to this function
offsetthe offset which is representative of the units x and y that the editor takes up on screen

Reimplemented from GuiControl.

◆ onPreRender()

void onPreRender ( )
virtual

Do special pre-render proecessing.

Reimplemented from GuiControl.

◆ onRender() [1/2]

void onRender ( Point2I  offset,
const RectI updateRect 
)
virtual

Called when this control is to render itself

Parameters
offsetThe location this control is to begin rendering
updateRectThe screen area this control has drawing access to

Reimplemented from GuiControl.

◆ onRender() [2/2]

void onRender ( Point2I  offset,
const RectI updateRect 
)
virtual

Called when this control is to render itself

Parameters
offsetThe location this control is to begin rendering
updateRectThe screen area this control has drawing access to

Reimplemented from GuiControl.

◆ onSleep()

void onSleep ( )
virtual

Called when this object is asked to sleep.

Reimplemented from GuiControl.

◆ onTamlCustomRead()

void onTamlCustomRead ( const TamlCustomNodes customNodes)
protectedvirtual

Called during the reading of the object to allow custom properties to be read.

Reimplemented from SimObject.

◆ onTamlCustomWrite()

void onTamlCustomWrite ( TamlCustomNodes customNodes)
protectedvirtual

Called during the writing of the object to allow custom properties to be written.

Reimplemented from SimObject.

◆ onTouchDown()

void onTouchDown ( const GuiEvent event)
virtual

Reimplemented from GuiControl.

◆ onTouchDragged()

void onTouchDragged ( const GuiEvent event)
virtual

Reimplemented from GuiControl.

◆ onTouchMove()

void onTouchMove ( const GuiEvent event)
virtual

Reimplemented from GuiControl.

◆ onTouchUp()

void onTouchUp ( const GuiEvent event)
virtual

Reimplemented from GuiControl.

◆ onWake() [1/2]

bool onWake ( )
virtual

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

Reimplemented from GuiControl.

◆ onWake() [2/2]

bool onWake ( )
virtual

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

Reimplemented from GuiControl.

◆ parentResized()

void parentResized ( const Point2I oldParentExtent,
const Point2I newParentExtent 
)
virtual

Called when this objects parent is resized

Parameters
oldParentExtentThe old size of the parent object
newParentExtentThe new size of the parent object

Reimplemented from GuiControl.

◆ pointInAnyRegion()

GuiFrameSetCtrl::Region pointInAnyRegion ( const Point2I point)
protected

◆ rebalance()

void rebalance ( const Point2I newExtent)
protected

◆ removeObject()

void removeObject ( SimObject obj)
virtual

Removes a child object from this control.

Parameters
objObject to remove from this control

Reimplemented from GuiControl.

◆ renderChild()

void renderChild ( GuiControl ctrl,
const Point2I offset,
const RectI content,
const RectI clipRect 
)
virtual

Renders a single child control.

Reimplemented from GuiControl.

◆ renderDropButton()

void renderDropButton ( const GuiFrameSetCtrl::Frame frame,
const RectI buttonRect,
const Point2I cursorPt,
const Point2I fillPos,
const Point2I fillExt,
GuiDirection  direction 
)

◆ renderDropOptions()

void renderDropOptions ( GuiWindowCtrl window)

◆ resize() [1/2]

void resize ( const Point2I newPosition,
const Point2I newExtent 
)
virtual

Changes the size and/or position of this control

Parameters
newPositionNew position of this control
newExtentNew size of this control

Reimplemented from GuiControl.

◆ resize() [2/2]

void resize ( const Point2I newPosition,
const Point2I newExtent 
)
virtual

Changes the size and/or position of this control

Parameters
newPositionNew position of this control
newExtentNew size of this control

Reimplemented from GuiControl.

◆ rowOffsets()

Vector< S32 > * rowOffsets ( )
inline

◆ rows()

U32 rows ( ) const
inline

◆ setBookProfileFn()

static bool setBookProfileFn ( void *  obj,
const char *  data 
)
inlinestatic

◆ setControlLeftRightCursor()

void setControlLeftRightCursor ( GuiCursor cursor)

◆ setControlUpDownCursor()

void setControlUpDownCursor ( GuiCursor cursor)

◆ setDataField()

void setDataField ( const char *  tag,
const U32  id,
const U32  value 
)

◆ setDropButtonProfile()

void setDropButtonProfile ( GuiControlProfile prof)

◆ setFrameSize()

void setFrameSize ( S32  frameID,
S32  size 
)

◆ setPageProfileFn()

static bool setPageProfileFn ( void *  obj,
const char *  data 
)
inlinestatic

◆ setTabBookProfile()

void setTabBookProfile ( GuiControlProfile prof)

◆ setTabPageProfile()

void setTabPageProfile ( GuiControlProfile prof)

◆ setTabProfile()

void setTabProfile ( GuiControlProfile prof)

◆ setTabProfileFn()

static bool setTabProfileFn ( void *  obj,
const char *  data 
)
inlinestatic

◆ splitFrame() [1/2]

void splitFrame ( GuiFrameSetCtrl::Frame frame,
GuiDirection  direction 
)

◆ splitFrame() [2/2]

Point2I splitFrame ( S32  frameID,
bool  isVertical 
)

◆ undockWindowFromBook()

void undockWindowFromBook ( GuiWindowCtrl window,
GuiTabBookCtrl book,
GuiTabPageCtrl page 
)

◆ updateSizes()

void updateSizes ( )
inline

◆ writeFields()

void writeFields ( Stream stream,
U32  tabStop 
)
virtual

Write the fields of this object in TorqueScript.

Parameters
streamStream for output.
tabStopIndentation level for the fields.

Reimplemented from SimObject.

◆ writeFrameCustomTaml()

void writeFrameCustomTaml ( TamlCustomNode pParentNode,
GuiFrameSetCtrl::Frame frame 
)
protected

Member Data Documentation

◆ mAutoBalance

bool mAutoBalance
protected

◆ mColumnOffsets

Vector<S32> mColumnOffsets
protected

◆ mCurHitRegion

Region mCurHitRegion
protected

◆ mCurHorizontalHit

S32 mCurHorizontalHit
protected

◆ mCurVerticalHit

S32 mCurVerticalHit
protected

◆ mDefaultCursor

GuiCursor* mDefaultCursor
protected

◆ mDividerThickness

U8 mDividerThickness

◆ mFrameDetails

VectorPtr<FrameDetail *> mFrameDetails
protected

◆ mFramesetDetails

FrameDetail mFramesetDetails
protected

◆ mFudgeFactor

S32 mFudgeFactor
protected

◆ mHitDivider

Frame* mHitDivider

◆ minSize

const S32 minSize = 20

◆ mLeftRightCursor

GuiCursor * mLeftRightCursor
protected

◆ mLocOnDivider

Point2I mLocOnDivider
protected

◆ mMoveCursor

GuiCursor* mMoveCursor
protected

◆ mOldHitDivider

Frame* mOldHitDivider

◆ mRootFrame

Frame mRootFrame

◆ mRowOffsets

Vector<S32> mRowOffsets
protected

◆ mTabBookProfile

GuiControlProfile* mTabBookProfile

◆ mTabPageProfile

GuiControlProfile* mTabPageProfile

◆ mTabProfile

GuiControlProfile* mTabProfile

◆ mUpDownCursor

GuiCursor * mUpDownCursor
protected

The documentation for this class was generated from the following files: