lxgui
Loading...
Searching...
No Matches
gui_virtual_root.cpp
1#include "lxgui/gui_virtual_root.hpp"
2
3#include "lxgui/gui_frame.hpp"
4#include "lxgui/gui_manager.hpp"
5
6namespace lxgui::gui {
7
8virtual_root::virtual_root(manager& mgr, registry& non_virtual_registry) :
9 frame_container(mgr.get_factory(), object_registry_, nullptr),
10 manager_(mgr),
11 object_registry_(non_virtual_registry) {}
12
14 // Must be done before we destroy the registry
16}
17
18} // namespace lxgui::gui
Manages the user interface.
Keeps track of created UI objects and records their names for lookup.
virtual_root(manager &mgr, registry &non_virtual_registry)
Constructor.
~virtual_root() override
Destructor.