MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getXMouse

Method getXMouse

src/Engine/Action.cpp:108–111  ·  view source on GitHub ↗

* Returns the X position of the * mouse cursor relative to the game window, * or -1 if this isn't a mouse-related action. * @return Mouse's X position. */

Source from the content-addressed store, hash-verified

106 * @return Mouse's X position.
107 */
108int Action::getXMouse() const
109{
110 return _mouseX;
111}
112
113/**
114 * Returns the Y position of the

Callers 5

mouseReleaseMethod · 0.80
mouseOverMethod · 0.80
btnStatsClickMethod · 0.80
moveSoldierUpMethod · 0.80
moveSoldierDownMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected