MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / GetText

Method GetText

src/textbuf.cpp:284–287  ·  view source on GitHub ↗

* Get the current text. * @return Current text. */

Source from the content-addressed store, hash-verified

282 * @return Current text.
283 */
284std::string_view Textbuf::GetText() const
285{
286 return this->buf;
287}
288
289/** Update the character iter after the text has changed. */
290void Textbuf::UpdateStringIter()

Callers 15

OnEditboxChangedMethod · 0.45
OnClickMethod · 0.45
OnPlaceObjectMethod · 0.45
OnTimeoutMethod · 0.45
OnEditboxChangedMethod · 0.45
OnPaintMethod · 0.45
OnKeyPressMethod · 0.45
GetTextBoundingRectMethod · 0.45
OnEditboxChangedMethod · 0.45
OnClickMethod · 0.45
OskWindowMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected