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

Function getWindowColour

src/OpenLoco/src/Ui/WindowManager.cpp:78–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 }
77
78 AdvancedColour getWindowColour(WindowColour slot)
79 {
80 const auto index = static_cast<size_t>(slot);
81 assert(index < _windowColours.size());
82 return _windowColours[index];
83 }
84
85 WindowType getCurrentModalType()
86 {

Callers 3

loopNewlineFunction · 0.85
drawStringYOffsetsFunction · 0.85
drawStringMaxCharsFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected