| 1231 | } |
| 1232 | |
| 1233 | void GuiMenuBar::checkMenuMouseMove(const GuiEvent &event) |
| 1234 | { |
| 1235 | MenuEntry *hit = findHitMenu(event.mousePoint); |
| 1236 | if(hit && hit != mouseDownMenu) |
| 1237 | { |
| 1238 | // gotta close out the current menu... |
| 1239 | mouseDownMenu->popupMenu->hidePopup(); |
| 1240 | |
| 1241 | mouseOverMenu = mouseDownMenu = hit; |
| 1242 | setUpdate(); |
| 1243 | onAction(); |
| 1244 | } |
| 1245 | } |
| 1246 | |
| 1247 | void GuiMenuBar::onMouseMove(const GuiEvent &event) |
| 1248 | { |