Added function to guiMenuBar to find a menu by name.

This commit is contained in:
Areloch 2018-01-28 15:14:16 -06:00
parent 727592d63a
commit cfe977584d
2 changed files with 23 additions and 1 deletions

View file

@ -116,6 +116,7 @@ public:
U32 getMenuListCount() { return mMenuList.size(); }
PopupMenu* getMenu(U32 index);
PopupMenu* findMenu(StringTableEntry barTitle);
DECLARE_CONOBJECT(GuiMenuBar);
DECLARE_CALLBACK( void, onMouseInMenu, ( bool hasLeftMenu ));