* Changes the text color of a whole row in the list. * @param row Row number. * @param color Text color. */
| 161 | * @param color Text color. |
| 162 | */ |
| 163 | void TextList::setRowColor(size_t row, Uint8 color) |
| 164 | { |
| 165 | for (std::vector<Text*>::iterator i = _texts[row].begin(); i < _texts[row].end(); ++i) |
| 166 | { |
| 167 | (*i)->setColor(color); |
| 168 | } |
| 169 | _redraw = true; |
| 170 | } |
| 171 | |
| 172 | /** |
| 173 | * Returns the text of a specific Text object in the list. |
no test coverage detected