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

Method SetCursor

src/story.cpp:142–146  ·  view source on GitHub ↗

Set the mouse cursor used while waiting for input for the button. */

Source from the content-addressed store, hash-verified

140
141/** Set the mouse cursor used while waiting for input for the button. */
142void StoryPageButtonData::SetCursor(StoryPageButtonCursor cursor)
143{
144 assert(cursor < SPBC_END);
145 SB(this->referenced_id, 8, 8, cursor);
146}
147
148/** Set the type of vehicles that are accepted by the button */
149void StoryPageButtonData::SetVehicleType(VehicleType vehtype)

Callers 2

Calls 1

SBFunction · 0.85

Tested by

no test coverage detected