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

Method setColor

src/Battlescape/WarningMessage.cpp:62–65  ·  view source on GitHub ↗

* Changes the color for the message background. * @param color Color value. */

Source from the content-addressed store, hash-verified

60 * @param color Color value.
61 */
62void WarningMessage::setColor(Uint8 color)
63{
64 _color = color;
65}
66
67/**
68 * Changes the color for the message text.

Callers 15

InfoboxOKStateMethod · 0.45
drawTerrainMethod · 0.45
InventoryStateMethod · 0.45
BriefingStateMethod · 0.45
NoContainmentStateMethod · 0.45
BattlescapeMessageMethod · 0.45
MiniMapStateMethod · 0.45
ActionMenuItemMethod · 0.45
PrimeGrenadeStateMethod · 0.45
NextTurnStateMethod · 0.45
DebriefingStateMethod · 0.45
MedikitTxtMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected