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

Method setCellText

src/Interface/TextList.cpp:189–193  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

187 * @param text Text string.
188 */
189void TextList::setCellText(size_t row, size_t column, const std::wstring &text)
190{
191 _texts[row][column]->setText(text);
192 _redraw = true;
193}
194
195/**
196 * Returns the X position of a specific text column in the list.

Callers 15

lstSoldiersClickMethod · 0.80
updateStringsMethod · 0.80
updateItemStringsMethod · 0.80
updateItemStringsMethod · 0.80
initMethod · 0.80
updateQuantityMethod · 0.80
updateItemStringsMethod · 0.80
lstSavesPressMethod · 0.80
lstOptionsClickMethod · 0.80
lstControlsClickMethod · 0.80
lstControlsKeyPressMethod · 0.80
lstModsClickMethod · 0.80

Calls 1

setTextMethod · 0.45

Tested by

no test coverage detected