MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / setColor

Method setColor

src/components/TextComponent.cpp:33–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void TextComponent::setColor(unsigned int color)
34{
35 mColor = color;
36 mOpacity = mColor & 0x000000FF;
37}
38
39void TextComponent::setText(const std::string& text)
40{

Callers 3

GuiSettingsMenuMethod · 0.45
GuiGameListMethod · 0.45
updateThemeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected