1 #include "lxgui/gui_check_button.hpp"
3 #include "lxgui/gui_frame.hpp"
4 #include "lxgui/gui_manager.hpp"
5 #include "lxgui/gui_out.hpp"
6 #include "lxgui/gui_region_tpl.hpp"
7 #include "lxgui/gui_texture.hpp"
25 const check_button* button_obj = down_cast<check_button>(&obj);
31 attr.
name = checked_texture->get_raw_name();
34 auto tex = this->create_layered_region<texture>(
35 checked_texture->get_draw_layer(), std::move(attr));
38 tex->set_manually_inherited(
true);
46 attr.
name = disabled_texture->get_raw_name();
49 auto tex = this->create_layered_region<texture>(
50 disabled_texture->get_draw_layer(), std::move(attr));
53 tex->set_manually_inherited(
true);
148 return get_type_list_impl_<check_button>();
Manages the user interface.
The base class of all elements in the GUI.
void initialize_(T &self, const region_core_attributes &attr)
Set up function to call in all derived class constructors.
A layered_region that can draw images and colored rectangles.
Struct holding all the core information about a frame necessary for its creation.
Struct holding all the core information about a region necessary for its creation.
std::vector< utils::observer_ptr< const region > > inheritance