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

Method setColor

src/Interface/TextButton.cpp:73–78  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

71 * @param color Color value.
72 */
73void TextButton::setColor(Uint8 color)
74{
75 _color = color;
76 _text->setColor(color);
77 _redraw = true;
78}
79
80/**
81 * Returns the color for the button and text.

Callers 1

setTextColorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected