| 796 | } |
| 797 | |
| 798 | void GuiMenuBar::addMenu(GuiMenuBar::Menu *newMenu, S32 pos) |
| 799 | { |
| 800 | // add it to the menu list |
| 801 | menuBarDirty = true; |
| 802 | if (pos == -1) |
| 803 | mMenuList.push_back(newMenu); |
| 804 | else |
| 805 | mMenuList.insert(pos, newMenu); |
| 806 | } |
| 807 | |
| 808 | void GuiMenuBar::addMenu(const char *menuText, U32 menuId) |
| 809 | { |
no test coverage detected