MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / checkMenuMouseMove

Method checkMenuMouseMove

Engine/source/gui/editor/guiMenuBar.cpp:1233–1245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1231}
1232
1233void 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
1247void GuiMenuBar::onMouseMove(const GuiEvent &event)
1248{

Callers

nothing calls this directly

Calls 1

hidePopupMethod · 0.80

Tested by

no test coverage detected