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:
parent
1805fbca97
commit
a5b9ca4485
@ -28,8 +28,7 @@ namespace xna {
|
|||||||
|
|
||||||
impl->_dxMouse->SetWindow(hwnd);
|
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) {
|
void Mouse::SetPosition(Int x, Int y) {
|
||||||
SetCursorPos(x, y);
|
SetCursorPos(x, y);
|
||||||
}
|
}
|
||||||
|
@ -40,6 +40,7 @@ namespace xna {
|
|||||||
//Mouse coordinates returned by GetState are relative to the upper-left corner of this window.
|
//Mouse coordinates returned by GetState are relative to the upper-left corner of this window.
|
||||||
static void WindowHandle(intptr_t value);
|
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);
|
static void SetPosition(Int x, Int y);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user