* Append widget \a wid to container. * @param wid Widget to append. */
| 1318 | * @param wid Widget to append. |
| 1319 | */ |
| 1320 | void NWidgetContainer::Add(std::unique_ptr<NWidgetBase> &&wid) |
| 1321 | { |
| 1322 | assert(wid != nullptr); |
| 1323 | wid->parent = this; |
| 1324 | this->children.push_back(std::move(wid)); |
| 1325 | } |
| 1326 | |
| 1327 | void NWidgetContainer::FillWidgetLookup(WidgetLookup &widget_lookup) |
| 1328 | { |
no test coverage detected