lxgui
Loading...
Searching...
No Matches
gui_region_core_attributes.hpp
1#ifndef LXGUI_GUI_REGION_CORE_ATTRIBUTES_HPP
2#define LXGUI_GUI_REGION_CORE_ATTRIBUTES_HPP
3
4#include "lxgui/lxgui.hpp"
5#include "lxgui/utils_observer.hpp"
6
7#include <string>
8#include <vector>
9
10namespace lxgui::gui {
11
12class frame;
13class region;
14
17 std::string object_type;
18 std::string name;
19 bool is_virtual = false;
20
21 utils::observer_ptr<frame> parent = nullptr;
22
23 std::vector<utils::observer_ptr<const region>> inheritance;
24};
25
26} // namespace lxgui::gui
27
28#endif
Struct holding all the core information about a region necessary for its creation.
std::vector< utils::observer_ptr< const region > > inheritance