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

Method InitNested

src/window.cpp:1823–1827  ·  view source on GitHub ↗

* Perform complete initialization of the #Window with nested widgets, to allow use. * @param window_number Number of the new window. */

Source from the content-addressed store, hash-verified

1821 * @param window_number Number of the new window.
1822 */
1823void Window::InitNested(WindowNumber window_number)
1824{
1825 this->CreateNestedTree();
1826 this->FinishInitNested(window_number);
1827}
1828
1829/**
1830 * Empty constructor, initialization has been moved to #InitNested() called from the constructor of the derived class.

Callers 15

SignWindowMethod · 0.80
IConsoleWindowMethod · 0.80
ExtraViewportWindowMethod · 0.80
ScanProgressWindowMethod · 0.80
OskWindowMethod · 0.80
SetDateWindowMethod · 0.80
BootstrapBackgroundMethod · 0.80
BootstrapErrorWindowMethod · 0.80
MainToolbarWindowMethod · 0.80
ErrmsgWindowMethod · 0.80

Calls 2

CreateNestedTreeMethod · 0.95
FinishInitNestedMethod · 0.95

Tested by

no test coverage detected