MCPcopy Create free account
hub / github.com/BruceDevices/firmware / _setUiColor

Method _setUiColor

src/core/theme.cpp:120–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void BruceTheme::_setUiColor(uint16_t primary, uint16_t *secondary, uint16_t *background) {
121 priColor = primary;
122 secColor = secondary == nullptr ? primary - 0x2000 : *secondary;
123 bgColor = background == nullptr ? 0x0 : *background;
124}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected