MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / setColor

Method setColor

src/Interface/Bar.cpp:49–53  ·  view source on GitHub ↗

* Changes the color used to draw the border and contents. * @param color Color value. */

Source from the content-addressed store, hash-verified

47 * @param color Color value.
48 */
49void Bar::setColor(Uint8 color)
50{
51 _color = color;
52 _redraw = true;
53}
54
55/**
56 * Returns the color used to draw the bar.

Callers 15

GameMethod · 0.45
applyBattlescapeThemeMethod · 0.45
OptionsAudioStateMethod · 0.45
OptionsVideoStateMethod · 0.45
OptionsDefaultsStateMethod · 0.45
ListGamesStateMethod · 0.45
PauseStateMethod · 0.45
createMethod · 0.45
ListSaveStateMethod · 0.45
DeleteGameStateMethod · 0.45
StartStateMethod · 0.45
AbandonGameStateMethod · 0.45

Calls

no outgoing calls

Tested by 3

TestStateMethod · 0.36
ResearchCompleteStateMethod · 0.36