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

Method FoldAll

src/settingentry_gui.cpp:321–326  ·  view source on GitHub ↗

Recursively close all folds of sub-pages */

Source from the content-addressed store, hash-verified

319
320/** Recursively close all folds of sub-pages */
321void SettingsContainer::FoldAll()
322{
323 for (auto &it : this->entries) {
324 it->FoldAll();
325 }
326}
327
328/** Recursively open all folds of sub-pages */
329void SettingsContainer::UnFoldAll()

Callers 3

GameOptionsWindowMethod · 0.45
OnClickMethod · 0.45

Calls 1

IsFilteredMethod · 0.80

Tested by

no test coverage detected