MCPcopy Create free account
hub / github.com/MyGUI/mygui / getMousePositionByLayer

Method getMousePositionByLayer

MyGUIEngine/src/MyGUI_InputManager.cpp:606–611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

604 }
605
606 IntPoint InputManager::getMousePositionByLayer() const
607 {
608 if (mLayerMouseFocus != nullptr)
609 return mLayerMouseFocus->getPosition(mMousePosition.left, mMousePosition.top);
610 return mMousePosition;
611 }
612
613 bool InputManager::isFocusMouse() const
614 {

Callers 13

notifyMousePressedMethod · 0.80
frameEnteredMethod · 0.80
notifyEventFrameStartMethod · 0.80
updateDropItemsMethod · 0.80
findCurrentActiveItemMethod · 0.80
notifyMouseDragMethod · 0.80
saveMouseRelativeMethod · 0.80
loadMouseRelativeMethod · 0.80
notifyMouseDragMethod · 0.80
saveMouseRelativeMethod · 0.80

Calls 1

getPositionMethod · 0.45

Tested by

no test coverage detected