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

Function ContextGetCursorPosition

src/openrct2/Context.cpp:1595–1598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1593 }
1594
1595 ScreenCoordsXY ContextGetCursorPosition()
1596 {
1597 return GetContext()->GetUiContext().GetCursorPosition();
1598 }
1599
1600 ScreenCoordsXY ContextGetCursorPositionScaled()
1601 {

Callers 3

InputViewportDragBeginFunction · 0.85

Calls 2

GetContextFunction · 0.85
GetCursorPositionMethod · 0.80

Tested by

no test coverage detected