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

Method OnInvalidateData

src/textfile_gui.cpp:616–622  ·  view source on GitHub ↗

virtual */

Source from the content-addressed store, hash-verified

614}
615
616/* virtual */ void TextfileWindow::OnInvalidateData([[maybe_unused]] int data, [[maybe_unused]] bool gui_scope)
617{
618 if (!gui_scope) return;
619
620 this->ReflowContent();
621 this->SetupScrollbars();
622}
623
624void TextfileWindow::OnDropdownSelect(WidgetID widget, int index, int)
625{

Callers

nothing calls this directly

Calls 2

ReflowContentMethod · 0.95
SetupScrollbarsMethod · 0.95

Tested by

no test coverage detected