MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / setWindowColours

Function setWindowColours

src/OpenLoco/src/Ui/WindowManager.cpp:71–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 }
70
71 void setWindowColours(WindowColour slot, AdvancedColour colour)
72 {
73 const auto index = static_cast<size_t>(slot);
74 assert(index < _windowColours.size());
75 _windowColours[index] = colour;
76 }
77
78 AdvancedColour getWindowColour(WindowColour slot)
79 {

Callers 2

drawSingleFunction · 0.85
drawStringStructsMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected