MCPcopy Create free account
hub / github.com/AshampooSystems/boden / Window

Method Window

framework/ui/src/Window.cpp:45–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 3

updateMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected