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

Method SetCursorScale

src/openrct2-ui/CursorRepository.cpp:109–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void CursorRepository::SetCursorScale(uint8_t cursorScale)
110{
111 if (cursorScale > 0.0)
112 {
113 _currentCursorScale = cursorScale;
114 GenerateScaledCursorSetHolder(_currentCursorScale);
115 }
116}
117
118void CursorRepository::GenerateScaledCursorSetHolder(uint8_t scale)
119{

Callers 2

ContextUpdateCursorScaleFunction · 0.45
SetCursorScaleFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected