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

Function setCursorPosScaled

src/OpenLoco/src/Ui.cpp:417–423  ·  view source on GitHub ↗

0x00407FEE

Source from the content-addressed store, hash-verified

415
416 // 0x00407FEE
417 void setCursorPosScaled(int32_t scaledX, int32_t scaledY)
418 {
419 auto scale = Config::get().scaleFactor;
420 auto unscaledX = scaledX * scale;
421 auto unscaledY = scaledY * scale;
422 setCursorPos(unscaledX, unscaledY);
423 }
424
425 void setCursorPos(int32_t x, int32_t y)
426 {

Callers 1

updateCursorPositionFunction · 0.85

Calls 2

setCursorPosFunction · 0.85
getFunction · 0.70

Tested by

no test coverage detected