* Perform the first part of the initialization of a nested widget tree. * Construct a nested widget tree in #nested_root, and optionally fill the #widget_lookup array to provide quick access to the uninitialized widgets. * This is mainly useful for setting very basic properties. * @param fill_nested Fill the #widget_lookup (enabling is expensive!). * @note Filling the nested array requires an
| 1797 | * @note Filling the nested array requires an additional traversal through the nested widget tree, and is best performed by #FinishInitNested rather than here. |
| 1798 | */ |
| 1799 | void Window::CreateNestedTree() |
| 1800 | { |
| 1801 | this->nested_root = MakeWindowNWidgetTree(this->window_desc.nwid_parts, &this->shade_select); |
| 1802 | this->nested_root->FillWidgetLookup(this->widget_lookup); |
| 1803 | } |
| 1804 | |
| 1805 | /** |
| 1806 | * Perform the second part of the initialization of a nested widget tree. |
no test coverage detected