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

Method SetColour

src/story.cpp:130–134  ·  view source on GitHub ↗

Set the button background colour. */

Source from the content-addressed store, hash-verified

128
129/** Set the button background colour. */
130void StoryPageButtonData::SetColour(Colours button_colour)
131{
132 assert(button_colour < COLOUR_END);
133 SB(this->referenced_id, 0, 8, button_colour);
134}
135
136void StoryPageButtonData::SetFlags(StoryPageButtonFlags flags)
137{

Callers 4

GetLayouterFunction · 0.45

Calls 1

SBFunction · 0.85

Tested by

no test coverage detected