| 43 | } |
| 44 | |
| 45 | Window::Window(std::shared_ptr<ViewCoreFactory> viewCoreFactory) : View(std::move(viewCoreFactory)) |
| 46 | { |
| 47 | detail::VIEW_CORE_REGISTER(Window, View::viewCoreFactory()); |
| 48 | |
| 49 | visible = false; |
| 50 | allowedOrientations = Orientation::All; |
| 51 | |
| 52 | registerCoreCreatingProperties(this, &visible, &contentView, &geometry, &contentGeometry); |
| 53 | contentView.onChange() += [=](auto &property) { _contentView.update(shared_from_this(), property.get()); }; |
| 54 | } |
| 55 | |
| 56 | std::vector<std::shared_ptr<View>> Window::childViews() const |
| 57 | { |
nothing calls this directly
no test coverage detected