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

Method setText

src/Interface/TextEdit.cpp:145–150  ·  view source on GitHub ↗

* Changes the string displayed on screen. * @param text Text string. */

Source from the content-addressed store, hash-verified

143 * @param text Text string.
144 */
145void TextEdit::setText(const std::wstring &text)
146{
147 _value = text;
148 _caretPos = _value.length();
149 _redraw = true;
150}
151
152/**
153 * Returns the string displayed on screen.

Callers 2

TextEditMethod · 0.45
drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected