GuiMenuBar
Engine/source/gui/editor/guiMenuBar.h
Classes:
Private Types
Parent
Public Attributes
bool
bool
Public Functions
acceleratorKeyPress(U32 index)
Occurs when the accelerator key for this control is pressed.
buildWindowAcceleratorMap(WindowInputGenerator & inputGenerator)
checkMenuMouseMove(const GuiEvent & event)
DECLARE_CALLBACK(void , onMenuSelect , (S32 menuId, const char *menuText) )
DECLARE_CALLBACK(void , onMouseInMenu , (bool hasLeftMenu) )
findHitMenu(Point2I mousePoint)
onMouseDown(const GuiEvent & event)
onMouseDragged(const GuiEvent & event)
onMouseEnter(const GuiEvent & event)
onMouseLeave(const GuiEvent & event)
onMouseMove(const GuiEvent & event)
Do special pre-render processing.
bool
onWake()
Called when this object is asked to wake up returns true if it's actually awake at the end.
This method is called once every 32ms if isProcessingTicks returns true when called on the object.
removeWindowAcceleratorMap(WindowInputGenerator & inputGenerator)
Public Static Functions
Detailed Description
Private Types
typedef GuiTickCtrl Parent
Public Attributes
Point2I maxBitmapSize
S32 mBitmapMargin
S32 mCheckmarkBitmapIndex
U32 mCurAcceleratorIndex
bool menuBarDirty
S32 mHorizontalMargin
U32 mMenubarHeight
Vector< MenuEntry > mMenuList
bool mMouseInMenu
MenuEntry * mouseDownMenu
MenuItem * mouseDownSubmenu
MenuEntry * mouseOverMenu
MenuItem * mouseOverSubmenu
S32 mPadding
S32 mVerticalMargin
Public Functions
GuiMenuBar()
acceleratorKeyPress(U32 index)
Reimplemented from: GuiControl
addObject(SimObject * obj)
Reimplemented from: GuiControl
buildWindowAcceleratorMap(WindowInputGenerator & inputGenerator)
checkMenuMouseMove(const GuiEvent & event)
closeMenu()
DECLARE_CALLBACK(void , onMenuItemSelect , (S32 menuId, const char *menuText, S32 menuItemId, const char *menuItemText) )
DECLARE_CALLBACK(void , onMenuSelect , (S32 menuId, const char *menuText) )
DECLARE_CALLBACK(void , onMouseInMenu , (bool hasLeftMenu) )
DECLARE_CONOBJECT(GuiMenuBar )
findHitMenu(Point2I mousePoint)
findMenu(String barTitle)
getMenu(U32 index)
getMenuListCount()
insert(SimObject * pObject, S32 pos)
onAction()
Reimplemented from: GuiControl
onMouseDown(const GuiEvent & event)
Reimplemented from: GuiControl
onMouseDragged(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
onPreRender()
Reimplemented from: GuiControl
onRemove()
Reimplemented from: GuiControl
onRender(Point2I offset, const RectI & updateRect)
Reimplemented from: GuiControl
onSleep()
Reimplemented from: GuiControl
onWake()
Reimplemented from: GuiControl
processTick()
Reimplemented from: GuiTickCtrl
removeWindowAcceleratorMap(WindowInputGenerator & inputGenerator)