* Perform the second part of the initialization of a nested widget tree. * @param window_number Number of the new window. */
| 1807 | * @param window_number Number of the new window. |
| 1808 | */ |
| 1809 | void Window::FinishInitNested(WindowNumber window_number) |
| 1810 | { |
| 1811 | this->nested_root->AdjustPaddingForZoom(); |
| 1812 | this->InitializeData(window_number); |
| 1813 | this->ApplyDefaults(); |
| 1814 | Point pt = this->OnInitialPosition(this->nested_root->smallest_x, this->nested_root->smallest_y, window_number); |
| 1815 | this->InitializePositionSize(pt.x, pt.y, this->nested_root->smallest_x, this->nested_root->smallest_y); |
| 1816 | this->FindWindowPlacementAndResize(this->window_desc.GetDefaultWidth(), this->window_desc.GetDefaultHeight(), true); |
| 1817 | } |
| 1818 | |
| 1819 | /** |
| 1820 | * Perform complete initialization of the #Window with nested widgets, to allow use. |
no test coverage detected