diff --git a/framework/platform-dx/mouse.cpp b/framework/platform-dx/mouse.cpp index 17c4f10..d3f4171 100644 --- a/framework/platform-dx/mouse.cpp +++ b/framework/platform-dx/mouse.cpp @@ -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); } diff --git a/inc/xna/input/mouse.hpp b/inc/xna/input/mouse.hpp index 4a9ea53..41a55dc 100644 --- a/inc/xna/input/mouse.hpp +++ b/inc/xna/input/mouse.hpp @@ -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: