GuiFormCtrl
Engine/source/gui/containers/guiFormCtrl.h
Callbacks
DECLARE_CALLBACK(void , onResize , () )
Private Types
Parent
Private Attributes
bool
bool
bool
bool
bool
bool
Private Static Functions
bool
_setHasMenu(void * object, const char * index, const char * data)
Public Functions
bool
acceptsAsChild(SimObject * object)
Return true if this set accepts the given object as a child.
onMouseDown(const GuiEvent & event)
onMouseEnter(const GuiEvent & event)
onMouseLeave(const GuiEvent & event)
onMouseMove(const GuiEvent & event)
bool
onWake()
Called when this object is asked to wake up returns true if it's actually awake at the end.
removeObject(SimObject * object)
Remove the given object from the set.
bool
setCaption(const char * caption)
setHasMenu(bool value)
Public Static Functions
Detailed Description
Callbacks
DECLARE_CALLBACK(void , onResize , () )
Private Types
typedef GuiPanel Parent
Private Attributes
bool mCanMove
String mCaption
RectI mCloseButton
StringTableEntry mContent
StringTableEntry mContentLibrary
bool mDepressed
Resource< GFont > mFont
bool mHasMenu
RectI mMaximizeButton
GuiMenuBar * mMenuBar
RectI mMinimizeButton
Point2I mMouseDownPosition
bool mMouseMovingWin
bool mMouseOver
RectI mOrigBounds
String mSmallCaption
RectI mStandardBounds
Point2I mThumbSize
bool mUseSmallCaption
Private Static Functions
_setHasMenu(void * object, const char * index, const char * data)
Public Functions
GuiFormCtrl()
~GuiFormCtrl()
acceptsAsChild(SimObject * object)
Reimplemented from: GuiControl
addObject(SimObject * object)
Reimplemented from: GuiContainer
DECLARE_CONOBJECT(GuiFormCtrl )
getMenuBarID()
onMouseDown(const GuiEvent & event)
Reimplemented from: GuiControl
onMouseEnter(const GuiEvent & event)
Reimplemented from: GuiControl
onMouseLeave(const GuiEvent & event)
Reimplemented from: GuiControl
onMouseMove(const GuiEvent & event)
Reimplemented from: GuiControl
onMouseUp(const GuiEvent & event)
Reimplemented from: GuiControl
onRender(Point2I offset, const RectI & updateRect)
Reimplemented from: GuiControl
onSleep()
Reimplemented from: GuiControl
onWake()
Reimplemented from: GuiControl
removeObject(SimObject * object)
Reimplemented from: GuiContainer
resize(const Point2I & newPosition, const Point2I & newExtent)
Reimplemented from: GuiContainer
setCaption(const char * caption)
setHasMenu(bool value)