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

Method setTextColor

src/Battlescape/WarningMessage.cpp:71–74  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

69 * @param color Color value.
70 */
71void WarningMessage::setTextColor(Uint8 color)
72{
73 _text->setColor(color);
74}
75
76/**
77 * Changes the various resources needed for text rendering.

Callers 2

BattlescapeStateMethod · 0.45
InventoryMethod · 0.45

Calls 1

setColorMethod · 0.45

Tested by

no test coverage detected