Project Alice
Loading...
Searching...
No Matches
alice_ui::macrobuilder2_main_t Struct Reference
Inheritance diagram for alice_ui::macrobuilder2_main_t:
Collaboration diagram for alice_ui::macrobuilder2_main_t:

Public Member Functions

void on_create (sys::state &state) noexcept override
 
void render (sys::state &state, int32_t x, int32_t y) noexcept override
 
ui::message_result on_lbutton_down (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mods) noexcept override
 
ui::message_result on_rbutton_down (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mods) noexcept override
 
ui::message_result test_mouse (sys::state &state, int32_t x, int32_t y, ui::mouse_probe_type type) noexcept override
 
void on_drag (sys::state &state, int32_t oldx, int32_t oldy, int32_t x, int32_t y, sys::key_modifiers mods) noexcept override
 
void on_update (sys::state &state) noexcept override
 
- Public Member Functions inherited from ui::container_base
mouse_probe impl_probe_mouse (sys::state &state, int32_t x, int32_t y, mouse_probe_type type) noexcept override
 
message_result impl_on_key_down (sys::state &state, sys::virtual_key key, sys::key_modifiers mods) noexcept final
 
void impl_on_update (sys::state &state) noexcept override
 
message_result impl_set (sys::state &state, Cyto::Any &payload) noexcept final
 
void impl_render (sys::state &state, int32_t x, int32_t y) noexcept override
 
void impl_on_reset_text (sys::state &state) noexcept override
 
std::unique_ptr< element_baseremove_child (element_base *child) noexcept final
 
void move_child_to_front (element_base *child) noexcept final
 
void move_child_to_back (element_base *child) noexcept final
 
void add_child_to_front (std::unique_ptr< element_base > child) noexcept final
 
void add_child_to_back (std::unique_ptr< element_base > child) noexcept final
 
element_baseget_child_by_name (sys::state const &state, std::string_view name) noexcept final
 
element_baseget_child_by_index (sys::state const &state, int32_t index) noexcept final
 
- Public Member Functions inherited from ui::element_base
bool is_visible () const
 
void set_visible (sys::state &state, bool vis)
 
 element_base ()
 
virtual mouse_probe impl_probe_mouse (sys::state &state, int32_t x, int32_t y, mouse_probe_type type) noexcept
 
virtual message_result impl_on_lbutton_down (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mods) noexcept
 
virtual message_result impl_on_lbutton_up (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mods, bool under_mouse) noexcept
 
virtual message_result impl_on_rbutton_down (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mods) noexcept
 
virtual message_result impl_on_key_down (sys::state &state, sys::virtual_key key, sys::key_modifiers mods) noexcept
 
virtual message_result impl_on_scroll (sys::state &state, int32_t x, int32_t y, float amount, sys::key_modifiers mods) noexcept
 
virtual message_result impl_on_mouse_move (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mods) noexcept
 
virtual void impl_on_update (sys::state &state) noexcept
 
message_result impl_get (sys::state &state, Cyto::Any &payload) noexcept
 
virtual void * get_by_name (sys::state &state, std::string_view name) noexcept
 
virtual message_result impl_set (sys::state &state, Cyto::Any &payload) noexcept
 
virtual void impl_render (sys::state &state, int32_t x, int32_t y) noexcept
 
virtual void impl_on_reset_text (sys::state &state) noexcept
 
virtual void impl_on_drag_finish (sys::state &state) noexcept
 
virtual tooltip_behavior has_tooltip (sys::state &state) noexcept
 
virtual void tooltip_position (sys::state &state, int32_t x, int32_t y, int32_t &ident, urect &subrect) noexcept
 
virtual void update_tooltip (sys::state &state, int32_t x, int32_t y, text::columnar_layout &contents) noexcept
 
virtual void on_hover (sys::state &state) noexcept
 
virtual void on_hover_end (sys::state &state) noexcept
 
virtual std::unique_ptr< element_baseremove_child (element_base *child) noexcept
 
virtual void move_child_to_front (element_base *child) noexcept
 
virtual void move_child_to_back (element_base *child) noexcept
 
virtual void add_child_to_front (std::unique_ptr< element_base > child) noexcept
 
virtual void add_child_to_back (std::unique_ptr< element_base > child) noexcept
 
virtual element_baseget_child_by_name (sys::state const &state, std::string_view name) noexcept
 
virtual element_baseget_child_by_index (sys::state const &state, int32_t index) noexcept
 
virtual ~element_base ()
 

Public Attributes

macrobuilder2_main_close_button_tclose_button = nullptr
 
macrobuilder2_main_header_text_theader_text = nullptr
 
macrobuilder2_main_template_list_ttemplate_list = nullptr
 
macrobuilder2_main_unit_grid_tunit_grid = nullptr
 
macrobuilder2_main_list_page_left_tlist_page_left = nullptr
 
macrobuilder2_main_list_page_right_tlist_page_right = nullptr
 
macrobuilder2_main_grid_page_left_tgrid_page_left = nullptr
 
macrobuilder2_main_grid_page_right_tgrid_page_right = nullptr
 
macrobuilder2_main_list_page_number_tlist_page_number = nullptr
 
macrobuilder2_main_grid_page_number_tgrid_page_number = nullptr
 
macrobuilder2_main_apply_button_tapply_button = nullptr
 
std::string_view texture_key
 
dcon::texture_id background_texture
 
- Public Attributes inherited from ui::container_base
std::vector< std::unique_ptr< element_base > > children
 
- Public Attributes inherited from ui::element_base
element_data base_data
 
element_baseparent = nullptr
 
uint8_t flags = 0
 

Additional Inherited Members

- Static Public Attributes inherited from ui::element_base
static constexpr uint8_t is_invisible_mask = 0x01
 
static constexpr uint8_t wants_update_when_hidden_mask = 0x02
 
- Protected Member Functions inherited from ui::element_base
virtual message_result test_mouse (sys::state &state, int32_t x, int32_t y, mouse_probe_type type) noexcept
 
virtual message_result on_lbutton_down (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mods) noexcept
 
virtual message_result on_lbutton_up (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mods, bool under_mouse) noexcept
 
virtual message_result on_rbutton_down (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mods) noexcept
 
virtual message_result on_key_down (sys::state &state, sys::virtual_key key, sys::key_modifiers mods) noexcept
 
virtual message_result on_scroll (sys::state &state, int32_t x, int32_t y, float amount, sys::key_modifiers mods) noexcept
 
virtual message_result on_mouse_move (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mods) noexcept
 
virtual message_result get (sys::state &state, Cyto::Any &payload) noexcept
 
virtual message_result set (sys::state &state, Cyto::Any &payload) noexcept
 
virtual void render (sys::state &state, int32_t x, int32_t y) noexcept
 
virtual void on_update (sys::state &state) noexcept
 
virtual void on_create (sys::state &state) noexcept
 
virtual void on_drag (sys::state &state, int32_t oldx, int32_t oldy, int32_t x, int32_t y, sys::key_modifiers mods) noexcept
 
virtual void on_text (sys::state &state, char32_t ch) noexcept
 
virtual void on_visible (sys::state &state) noexcept
 
virtual void on_hide (sys::state &state) noexcept
 
virtual void on_reset_text (sys::state &state) noexcept
 
virtual focus_result on_get_focus (sys::state &state) noexcept
 
virtual void on_lose_focus (sys::state &state) noexcept
 
virtual void on_drag_finish (sys::state &state) noexcept
 

Detailed Description

Definition at line 466 of file macrobuilder2.cpp.

Member Function Documentation

◆ on_create()

void alice_ui::macrobuilder2_main_t::on_create ( sys::state state)
overridevirtualnoexcept

Reimplemented from ui::element_base.

Definition at line 1096 of file macrobuilder2.cpp.

Here is the call graph for this function:

◆ on_drag()

void alice_ui::macrobuilder2_main_t::on_drag ( sys::state state,
int32_t  oldx,
int32_t  oldy,
int32_t  x,
int32_t  y,
sys::key_modifiers  mods 
)
inlineoverridevirtualnoexcept

Reimplemented from ui::element_base.

Definition at line 487 of file macrobuilder2.cpp.

Here is the call graph for this function:

◆ on_lbutton_down()

ui::message_result alice_ui::macrobuilder2_main_t::on_lbutton_down ( sys::state state,
int32_t  x,
int32_t  y,
sys::key_modifiers  mods 
)
overridevirtualnoexcept

Reimplemented from ui::element_base.

Definition at line 1082 of file macrobuilder2.cpp.

◆ on_rbutton_down()

ui::message_result alice_ui::macrobuilder2_main_t::on_rbutton_down ( sys::state state,
int32_t  x,
int32_t  y,
sys::key_modifiers  mods 
)
overridevirtualnoexcept

Reimplemented from ui::element_base.

Definition at line 1086 of file macrobuilder2.cpp.

◆ on_update()

void alice_ui::macrobuilder2_main_t::on_update ( sys::state state)
overridevirtualnoexcept

Reimplemented from ui::element_base.

Definition at line 1092 of file macrobuilder2.cpp.

◆ render()

void alice_ui::macrobuilder2_main_t::render ( sys::state state,
int32_t  x,
int32_t  y 
)
overridevirtualnoexcept

Reimplemented from ui::element_base.

Definition at line 1089 of file macrobuilder2.cpp.

Here is the call graph for this function:

◆ test_mouse()

ui::message_result alice_ui::macrobuilder2_main_t::test_mouse ( sys::state state,
int32_t  x,
int32_t  y,
ui::mouse_probe_type  type 
)
inlineoverridevirtualnoexcept

Reimplemented from ui::element_base.

Definition at line 484 of file macrobuilder2.cpp.

Member Data Documentation

◆ apply_button

macrobuilder2_main_apply_button_t* alice_ui::macrobuilder2_main_t::apply_button = nullptr

Definition at line 477 of file macrobuilder2.cpp.

◆ background_texture

dcon::texture_id alice_ui::macrobuilder2_main_t::background_texture

Definition at line 479 of file macrobuilder2.cpp.

◆ close_button

macrobuilder2_main_close_button_t* alice_ui::macrobuilder2_main_t::close_button = nullptr

Definition at line 467 of file macrobuilder2.cpp.

◆ grid_page_left

macrobuilder2_main_grid_page_left_t* alice_ui::macrobuilder2_main_t::grid_page_left = nullptr

Definition at line 473 of file macrobuilder2.cpp.

◆ grid_page_number

macrobuilder2_main_grid_page_number_t* alice_ui::macrobuilder2_main_t::grid_page_number = nullptr

Definition at line 476 of file macrobuilder2.cpp.

◆ grid_page_right

macrobuilder2_main_grid_page_right_t* alice_ui::macrobuilder2_main_t::grid_page_right = nullptr

Definition at line 474 of file macrobuilder2.cpp.

◆ header_text

macrobuilder2_main_header_text_t* alice_ui::macrobuilder2_main_t::header_text = nullptr

Definition at line 468 of file macrobuilder2.cpp.

◆ list_page_left

macrobuilder2_main_list_page_left_t* alice_ui::macrobuilder2_main_t::list_page_left = nullptr

Definition at line 471 of file macrobuilder2.cpp.

◆ list_page_number

macrobuilder2_main_list_page_number_t* alice_ui::macrobuilder2_main_t::list_page_number = nullptr

Definition at line 475 of file macrobuilder2.cpp.

◆ list_page_right

macrobuilder2_main_list_page_right_t* alice_ui::macrobuilder2_main_t::list_page_right = nullptr

Definition at line 472 of file macrobuilder2.cpp.

◆ template_list

macrobuilder2_main_template_list_t* alice_ui::macrobuilder2_main_t::template_list = nullptr

Definition at line 469 of file macrobuilder2.cpp.

◆ texture_key

std::string_view alice_ui::macrobuilder2_main_t::texture_key

Definition at line 478 of file macrobuilder2.cpp.

◆ unit_grid

macrobuilder2_main_unit_grid_t* alice_ui::macrobuilder2_main_t::unit_grid = nullptr

Definition at line 470 of file macrobuilder2.cpp.


The documentation for this struct was generated from the following file: