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

Method OnResize

src/industry_gui.cpp:694–698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

692 }
693
694 void OnResize() override
695 {
696 /* Adjust the number of items in the matrix depending of the resize */
697 this->vscroll->SetCapacityFromWidget(this, WID_DPI_MATRIX_WIDGET);
698 }
699
700 void OnPlaceObject([[maybe_unused]] Point pt, TileIndex tile) override
701 {

Callers

nothing calls this directly

Calls 1

SetCapacityFromWidgetMethod · 0.80

Tested by

no test coverage detected