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

Method UpdateQueryStringSize

src/window.cpp:355–360  ·  view source on GitHub ↗

* Update size of all QueryStrings of this window. */

Source from the content-addressed store, hash-verified

353 * Update size of all QueryStrings of this window.
354 */
355void Window::UpdateQueryStringSize()
356{
357 for (auto &qs : this->querystrings) {
358 qs.second->text.UpdateSize();
359 }
360}
361
362/**
363 * Get the current input text buffer.

Callers 1

ReInitWindowFunction · 0.80

Calls 1

UpdateSizeMethod · 0.45

Tested by

no test coverage detected