MenuBar
Engine/source/platform/menus/menuBar.h
Private Types
Parent
Protected Functions
updateMenuBar(PopupMenu * menu)
Update the native menu bar to ensure consistency with the set.
Public Functions
MenuBar()
~MenuBar()
attachToCanvas(GuiCanvas * owner, S32 pos)
Attach this menu bar to the native menu bar.
insertObject(SimObject * obj, S32 pos)
bool
Returns true if this menu is attached to the menu bar.
pushObject(SimObject * object)
Add the given object to the end of the object list of this set.
Remove this menu bar from the native menu bar.
removeObject(SimObject * object)
Remove the given object from the set.
Detailed Description
Private Types
typedef SimSet Parent
Protected Attributes
GuiCanvas * mCanvas
PlatformMenuBarData * mData
Protected Functions
createPlatformPopupMenuData()
deletePlatformPopupMenuData()
updateMenuBar(PopupMenu * menu)
Update the native menu bar to ensure consistency with the set.
Public Functions
MenuBar()
~MenuBar()
addObject(SimObject * object)
Reimplemented from: SimSet
attachToCanvas(GuiCanvas * owner, S32 pos)
Attach this menu bar to the native menu bar.
DECLARE_CONOBJECT(MenuBar )
insertObject(SimObject * obj, S32 pos)
isAttachedToCanvas()
Returns true if this menu is attached to the menu bar.
popObject()
Reimplemented from: SimSet
pushObject(SimObject * object)
Reimplemented from: SimSet
removeFromCanvas()
Remove this menu bar from the native menu bar.
removeObject(SimObject * object)
Reimplemented from: SimSet
reOrder(SimObject * obj, SimObject * target)
Reimplemented from: SimSet
