1
0
mirror of https://github.com/borgesdan/xn65 synced 2024-12-29 21:54:47 +01:00

Adiciona comentário em Mouse::SetPosition

This commit is contained in:
Danilo 2024-08-01 11:02:15 -03:00
parent 1805fbca97
commit a5b9ca4485
2 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,7 @@ namespace xna {
impl->_dxMouse->SetWindow(hwnd);
}
//Sets the position of the mouse cursor relative to the upper - left corner of the window.
void Mouse::SetPosition(Int x, Int y) {
SetCursorPos(x, y);
}

View File

@ -40,6 +40,7 @@ namespace xna {
//Mouse coordinates returned by GetState are relative to the upper-left corner of this window.
static void WindowHandle(intptr_t value);
//Sets the position of the mouse cursor relative to the upper-left corner of the window.
static void SetPosition(Int x, Int y);
private: