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

Method setTextColor

src/Interface/TextButton.cpp:93–97  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

91* @param color Color value.
92*/
93void TextButton::setTextColor(Uint8 color)
94{
95 _text->setColor(color);
96 _redraw = true;
97}
98
99/**
100* Changes the text to use the big-size font.

Callers 1

GeoscapeStateMethod · 0.45

Calls 1

setColorMethod · 0.45

Tested by

no test coverage detected