lxgui
Loading...
Searching...
No Matches
gui_parser_common.hpp
1#ifndef LXGUI_GUI_PARSER_COMMON_HPP
2#define LXGUI_GUI_PARSER_COMMON_HPP
3
4#include "lxgui/gui_region_core_attributes.hpp"
5#include "lxgui/lxgui.hpp"
6#include "lxgui/utils_observer.hpp"
7
8namespace lxgui::gui {
9
10class frame;
11class registry;
12class virtual_registry;
13class layout_node;
14
23region_core_attributes parse_core_attributes(
24 registry& reg,
25 virtual_registry& vreg,
26 const layout_node& node,
27 utils::observer_ptr<frame> parent);
28
33void warn_for_not_accessed_node(const layout_node& node);
34
35} // namespace lxgui::gui
36
37#endif
region_core_attributes parse_core_attributes(registry &reg, virtual_registry &vreg, const layout_node &node, utils::observer_ptr< frame > parent)
Parse "core" attributes from a layout node, before creating a frame.
void warn_for_not_accessed_node(const layout_node &node)
Emit a warning if this node (or any of its attributes/children) was not read.