Project Alice
|
#include <gui_naval_combat.hpp>
Public Member Functions | |
void | render (sys::state &state, int32_t x, int32_t y) noexcept override |
void | on_create (sys::state &state) noexcept override |
dcon::national_identity_id | get_current_nation (sys::state &state) noexcept override |
Public Member Functions inherited from ui::flag_button | |
virtual dcon::national_identity_id | get_current_nation (sys::state &state) noexcept |
virtual dcon::rebel_faction_id | get_current_rebel_faction (sys::state &state) noexcept |
virtual void | set_current_nation (sys::state &state, dcon::national_identity_id identity) noexcept |
void | button_action (sys::state &state) noexcept override |
void | on_update (sys::state &state) noexcept override |
void | on_create (sys::state &state) noexcept override |
void | render (sys::state &state, int32_t x, int32_t y) noexcept override |
tooltip_behavior | has_tooltip (sys::state &state) noexcept override |
void | update_tooltip (sys::state &state, int32_t x, int32_t y, text::columnar_layout &contents) noexcept override |
Public Member Functions inherited from ui::button_element_base | |
button_element_base () | |
void | set_button_text (sys::state &state, std::string const &new_text) |
void | on_reset_text (sys::state &state) noexcept override |
virtual void | button_action (sys::state &state) noexcept |
virtual void | button_right_action (sys::state &state) noexcept |
virtual void | button_shift_action (sys::state &state) noexcept |
virtual void | button_shift_right_action (sys::state &state) noexcept |
virtual void | button_ctrl_action (sys::state &state) noexcept |
virtual void | button_ctrl_right_action (sys::state &state) noexcept |
virtual void | button_ctrl_shift_action (sys::state &state) noexcept |
virtual void | button_ctrl_shift_right_action (sys::state &state) noexcept |
virtual sound::audio_instance & | get_click_sound (sys::state &state) noexcept |
message_result | on_lbutton_down (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mods) noexcept override |
message_result | on_rbutton_down (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mods) noexcept override |
message_result | on_lbutton_up (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mods, bool under_mouse) noexcept override |
message_result | on_key_down (sys::state &state, sys::virtual_key key, sys::key_modifiers mods) noexcept final |
void | on_create (sys::state &state) noexcept override |
void | render (sys::state &state, int32_t x, int32_t y) noexcept override |
void | format_text (sys::state &state) |
Public Member Functions inherited from ui::opaque_element_base | |
message_result | test_mouse (sys::state &state, int32_t x, int32_t y, mouse_probe_type type) noexcept override |
message_result | on_lbutton_down (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mods) noexcept override |
message_result | on_rbutton_down (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mods) noexcept override |
tooltip_behavior | has_tooltip (sys::state &state) noexcept override |
Public Member Functions inherited from ui::image_element_base | |
void | render (sys::state &state, int32_t x, int32_t y) noexcept override |
void | on_create (sys::state &state) noexcept override |
virtual bool | get_horizontal_flip (sys::state &state) noexcept |
message_result | test_mouse (sys::state &state, int32_t x, int32_t y, mouse_probe_type type) noexcept override |
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 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 | update_tooltip (sys::state &state, int32_t x, int32_t y, text::columnar_layout &contents) noexcept |
virtual std::unique_ptr< element_base > | remove_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_base * | get_child_by_name (sys::state const &state, std::string_view name) noexcept |
virtual element_base * | get_child_by_index (sys::state const &state, int32_t index) noexcept |
virtual | ~element_base () |
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 |
Protected Attributes inherited from ui::flag_button | |
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 |
Definition at line 160 of file gui_naval_combat.hpp.
|
inlineoverridevirtualnoexcept |
Reimplemented from ui::flag_button.
Definition at line 186 of file gui_naval_combat.hpp.
|
inlineoverridevirtualnoexcept |
Reimplemented from ui::flag_button.
Definition at line 181 of file gui_naval_combat.hpp.
|
inlineoverridevirtualnoexcept |
Reimplemented from ui::flag_button.
Definition at line 162 of file gui_naval_combat.hpp.