Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenFodder/openfodder
/ SetMousePosition
Method
SetMousePosition
Source/Window.cpp:480–483 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
478
}
479
480
void cWindow::SetMousePosition(const cPosition& pPosition) {
481
482
SDL_WarpMouseGlobal(pPosition.getX(), pPosition.getY());
483
}
484
485
void cWindow::SetScreenSize( const cDimension& pDimension ) {
486
Callers
1
Mouse_Cursor_Handle
Method · 0.80
Calls
2
getX
Method · 0.45
getY
Method · 0.45
Tested by
no test coverage detected