1 #ifndef LXGUI_GUI_VIRTUAL_ROOT_HPP
2 #define LXGUI_GUI_VIRTUAL_ROOT_HPP
4 #include "lxgui/gui_frame_container.hpp"
5 #include "lxgui/gui_virtual_registry.hpp"
6 #include "lxgui/lxgui.hpp"
7 #include "lxgui/utils_observer.hpp"
61 return object_registry_;
69 return object_registry_;
Manages the user interface.
Keeps track of created UI objects and records their names for lookup.
Keeps track of virtual UI objects and records their names for lookup.
Root of the virtual UI object hierarchy.
const manager & get_manager() const
Returns the manager instance associated with this root.
virtual_root(virtual_root &&)=delete
virtual_root & operator=(virtual_root &&)=delete
manager & get_manager()
Returns the manager instance associated with this root.
virtual_root(const virtual_root &)=delete
virtual_root(manager &mgr, registry &non_virtual_registry)
Constructor.
const virtual_registry & get_registry() const
Returns the UI object registry, which keeps track of all objects in the UI.
~virtual_root() override
Destructor.
virtual_registry & get_registry()
Returns the UI object registry, which keeps track of all objects in the UI.
virtual_root & operator=(const virtual_root &)=delete