getCursorPositionX
WindowModuleInterface::getCursorPositionX
Returns the mouse cursor horizontal position.
Declaration
virtual int getCursorPositionX(WindowID windowID) = 0;
Parameters
Name |
Type |
Description |
---|---|---|
windowID |
The window to check the horizontal cursor position on. |
Returns
The horizontal position of the mouse cursor relative to the window, with 0 being the left edge of the window.