MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / onOpen

Method onOpen

src/openrct2-ui/windows/ScenarioSelect.cpp:143–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 }
142
143 void onOpen() override
144 {
145 setWidgets(_scenarioSelectWidgets);
146
147 // Load scenario list
148 ScenarioRepositoryScan();
149
150 _highlightedScenario = nullptr;
151 initTabs();
152 updatePressedTab();
153 initialiseListItems();
154 initScrollWidgets();
155 }
156
157 void onLanguageChange() override
158 {

Callers

nothing calls this directly

Calls 1

ScenarioRepositoryScanFunction · 0.85

Tested by

no test coverage detected