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

Method setBackground

src/Interface/Frame.cpp:65–69  ·  view source on GitHub ↗

* Changes the color used to draw the background. * @param bg Color value. */

Source from the content-addressed store, hash-verified

63* @param bg Color value.
64*/
65void Frame::setBackground(Uint8 bg)
66{
67 _bg = bg;
68 _redraw = true;
69}
70
71/**
72* Returns the color used to draw the background.

Callers 15

applyBattlescapeThemeMethod · 0.45
OptionsDefaultsStateMethod · 0.45
ListGamesStateMethod · 0.45
PauseStateMethod · 0.45
createMethod · 0.45
DeleteGameStateMethod · 0.45
AbandonGameStateMethod · 0.45
NewGameStateMethod · 0.45
OptionsAdvancedStateMethod · 0.45
NewBattleStateMethod · 0.45
OptionsControlsStateMethod · 0.45
OptionsModsStateMethod · 0.45

Calls

no outgoing calls

Tested by 3

TestStateMethod · 0.36
ResearchCompleteStateMethod · 0.36