MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / setCursorPos

Function setCursorPos

src/OpenLoco/src/Ui.cpp:425–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423 }
424
425 void setCursorPos(int32_t x, int32_t y)
426 {
427 SDL_WarpMouseInWindow(_window, x, y);
428 }
429
430 void hideCursor()
431 {

Callers 3

stopCursorDragFunction · 0.85
getNextDragOffsetFunction · 0.85
setCursorPosScaledFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected