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

Method setCellColor

src/Interface/TextList.cpp:152–156  ·  view source on GitHub ↗

* Changes the color of a specific Text object in the list. * @param row Row number. * @param column Column number. * @param color Text color. */

Source from the content-addressed store, hash-verified

150 * @param color Text color.
151 */
152void TextList::setCellColor(size_t row, size_t column, Uint8 color)
153{
154 _texts[row][column]->setColor(color);
155 _redraw = true;
156}
157
158/**
159 * Changes the text color of a whole row in the list.

Callers 13

TransferBaseStateMethod · 0.80
MonthlyCostsStateMethod · 0.80
ManufactureStartStateMethod · 0.80
initMethod · 0.80
initMethod · 0.80
lstControlsClickMethod · 0.80
lstControlsKeyPressMethod · 0.80
UfoDetectedStateMethod · 0.80
InterceptStateMethod · 0.80
ArticleStateItemMethod · 0.80
addStatMethod · 0.80

Calls 1

setColorMethod · 0.45

Tested by

no test coverage detected