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

Function WindowSetPosition

src/openrct2-ui/interface/Window.cpp:913–916  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

911 }
912
913 void WindowSetPosition(WindowBase& w, const ScreenCoordsXY& screenCoords)
914 {
915 WindowMovePosition(w, screenCoords - w.windowPos);
916 }
917
918 /**
919 *

Callers 4

WindowMoveAndSnapFunction · 0.85
UpdatePositionMethod · 0.85
x_setMethod · 0.85
y_setMethod · 0.85

Calls 1

WindowMovePositionFunction · 0.85

Tested by

no test coverage detected