Project Alice
|
#include <gui_element_types.hpp>
Protected Attributes | |
GLuint | flag_texture_handle = 0 |
Protected Attributes inherited from ui::button_element_base | |
text::layout | internal_layout |
std::string | cached_text |
bool | black_text = true |
Additional Inherited Members | |
Public Attributes inherited from ui::image_element_base | |
int32_t | frame = 0 |
bool | disabled = false |
bool | interactable = false |
Public Attributes inherited from ui::element_base | |
element_data | base_data |
element_base * | parent = nullptr |
uint8_t | flags = 0 |
Static Public Attributes inherited from ui::element_base | |
static constexpr uint8_t | is_invisible_mask = 0x01 |
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 |
Definition at line 551 of file gui_element_types.hpp.
|
overridevirtualnoexcept |
Reimplemented from ui::button_element_base.
Reimplemented in ui::pop_movement_flag, ui::end_right_flag, ui::end_left_flag, ui::major_event_right_flag, ui::major_event_left_flag, ui::select_gp_choice_button, ui::diplomacy_sort_nation_gp_flag, ui::production_sort_nation_gp_flag, and ui::production_sort_my_nation_flag.
Definition at line 1968 of file gui_element_types.cpp.
|
virtualnoexcept |
Reimplemented in ui::nation_overlord_flag, ui::nation_player_flag, ui::nation_gp_flag, ui::diplomacy_request_player_flag_button, ui::overlapping_flags_flag_button, ui::overlapping_truce_flag_button, ui::end_right_flag, ui::end_left_flag, ui::major_event_right_flag, ui::major_event_left_flag, ui::lc_attacker_flag, ui::lc_defender_flag, ui::tl_sm_controller_flag, ui::nc_attacker_flag, ui::nc_defender_flag, ui::province_controller_flag, ui::diplomacy_crisis_attacker_flag, ui::diplomacy_crisis_sponsored_attacker_flag, ui::diplomacy_crisis_defender_flag, ui::diplomacy_crisis_sponsored_defender_flag, ui::interested_flag, ui::select_gp_choice_button, ui::great_power_detail_flag, ui::pop_movement_flag, and ui::production_sort_my_nation_flag.
Definition at line 1955 of file gui_element_types.cpp.
|
virtualnoexcept |
Definition at line 1964 of file gui_element_types.cpp.
|
inlineoverridevirtualnoexcept |
Reimplemented from ui::opaque_element_base.
Reimplemented in ui::overlapping_flags_flag_button, ui::overlapping_truce_flag_button, ui::province_controller_flag, ui::province_country_flag_button, ui::diplomacy_crisis_sponsored_attacker_flag, ui::diplomacy_crisis_sponsored_defender_flag, ui::pop_movement_flag, and ui::production_sort_my_nation_flag.
Definition at line 563 of file gui_element_types.hpp.
|
overridevirtualnoexcept |
Reimplemented from ui::button_element_base.
Reimplemented in ui::end_right_flag, ui::end_left_flag, ui::major_event_right_flag, ui::major_event_left_flag, ui::lc_attacker_flag, ui::lc_defender_flag, ui::message_flag_button, ui::nc_attacker_flag, and ui::nc_defender_flag.
Definition at line 2083 of file gui_element_types.cpp.
|
overridevirtualnoexcept |
Reimplemented from ui::element_base.
Reimplemented in ui::macro_builder_template_flag, ui::diplomacy_crisis_sponsored_attacker_flag, and ui::diplomacy_crisis_sponsored_defender_flag.
Definition at line 2079 of file gui_element_types.cpp.
|
overridevirtualnoexcept |
Reimplemented from ui::button_element_base.
Reimplemented in ui::end_right_flag, ui::end_left_flag, ui::major_event_right_flag, ui::major_event_left_flag, ui::lc_attacker_flag, ui::lc_defender_flag, ui::message_flag_button, ui::nc_attacker_flag, ui::nc_defender_flag, ui::province_controller_flag, ui::diplomacy_crisis_sponsored_attacker_flag, ui::diplomacy_crisis_sponsored_defender_flag, and ui::pop_movement_flag.
Definition at line 2087 of file gui_element_types.cpp.
|
virtualnoexcept |
Reimplemented in ui::overlapping_flags_flag_button.
Definition at line 2064 of file gui_element_types.cpp.
|
overridevirtualnoexcept |
Reimplemented from ui::element_base.
Reimplemented in ui::overlapping_truce_flag_button, ui::province_controller_flag, ui::diplomacy_crisis_sponsored_attacker_flag, ui::diplomacy_crisis_sponsored_defender_flag, and ui::pop_movement_flag.
Definition at line 2115 of file gui_element_types.cpp.
|
protected |
Definition at line 553 of file gui_element_types.hpp.