| 66 | } |
| 67 | |
| 68 | S32 GuiPopupMenuBackgroundCtrl::findPopupMenu(PopupMenu* menu) |
| 69 | { |
| 70 | S32 menuId = -1; |
| 71 | |
| 72 | for (U32 i = 0; i < mPopups.size(); i++) |
| 73 | { |
| 74 | if (mPopups[i]->getId() == menu->getId()) |
| 75 | return i; |
| 76 | } |
| 77 | |
| 78 | return menuId; |
| 79 | } |
| 80 | |
| 81 | void GuiPopupMenuBackgroundCtrl::clearPopups() |
| 82 | { |