MCPcopy 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
480void cWindow::SetMousePosition(const cPosition& pPosition) {
481
482 SDL_WarpMouseGlobal(pPosition.getX(), pPosition.getY());
483}
484
485void cWindow::SetScreenSize( const cDimension& pDimension ) {
486

Callers 1

Mouse_Cursor_HandleMethod · 0.80

Calls 2

getXMethod · 0.45
getYMethod · 0.45

Tested by

no test coverage detected