MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / InputWindowPositionContinue

Function InputWindowPositionContinue

src/openrct2-ui/input/MouseInput.cpp:483–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481 }
482
483 static void InputWindowPositionContinue(
484 WindowBase& w, const ScreenCoordsXY& lastScreenCoords, const ScreenCoordsXY& newScreenCoords)
485 {
486 int32_t snapProximity = w.flags.has(WindowFlag::noSnapping) ? 0 : Config::Get().general.windowSnapProximity;
487 WindowMoveAndSnap(w, newScreenCoords - lastScreenCoords, snapProximity);
488 }
489
490 static void InputWindowPositionEnd(WindowBase& w, const ScreenCoordsXY& screenCoords)
491 {

Callers 1

GameHandleInputMouseFunction · 0.85

Calls 2

WindowMoveAndSnapFunction · 0.85
hasMethod · 0.65

Tested by

no test coverage detected