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

Function SetCursor

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

* * rct2: 0x006ED990 */

Source from the content-addressed store, hash-verified

1541 * rct2: 0x006ED990
1542 */
1543 void SetCursor(CursorID cursor_id)
1544 {
1545 assert(cursor_id != CursorID::Undefined);
1546 if (_inputState == InputState::resizing)
1547 {
1548 cursor_id = CursorID::DiagonalArrows;
1549 }
1550 ContextSetCurrentCursor(cursor_id);
1551 }
1552
1553 /**
1554 *

Callers 1

ProcessMouseOverFunction · 0.70

Calls 1

ContextSetCurrentCursorFunction · 0.85

Tested by

no test coverage detected