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

Public Member Functions

void set_data_points (sys::state &state, std::vector< float > const &datapoints, float min, float max)
 
void on_create (sys::state &state) noexcept override
 
void render (sys::state &state, int32_t x, int32_t y) noexcept override
 
ui::tooltip_behavior has_tooltip (sys::state &state) noexcept override
 
ui::message_result test_mouse (sys::state &state, int32_t x, int32_t y, ui::mouse_probe_type type) 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
 
void on_update (sys::state &state) 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 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

ogl::lines lines { 32 }
 
ogl::color4f line_color { 0.854902f, 0.254902f, 0.192157f, 1.000000f }
 
- 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 874 of file budgetwindow.cpp.

Member Function Documentation

◆ has_tooltip()

ui::tooltip_behavior alice_ui::budgetwindow_main_welfare_chart_poor_t::has_tooltip ( sys::state state)
inlineoverridevirtualnoexcept

Reimplemented from ui::element_base.

Definition at line 880 of file budgetwindow.cpp.

◆ on_create()

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

Reimplemented from ui::element_base.

Definition at line 3900 of file budgetwindow.cpp.

◆ on_lbutton_down()

ui::message_result alice_ui::budgetwindow_main_welfare_chart_poor_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 3826 of file budgetwindow.cpp.

◆ on_rbutton_down()

ui::message_result alice_ui::budgetwindow_main_welfare_chart_poor_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 3829 of file budgetwindow.cpp.

◆ on_update()

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

Reimplemented from ui::element_base.

Definition at line 3850 of file budgetwindow.cpp.

Here is the call graph for this function:

◆ render()

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

Reimplemented from ui::element_base.

Definition at line 3847 of file budgetwindow.cpp.

Here is the call graph for this function:

◆ set_data_points()

void alice_ui::budgetwindow_main_welfare_chart_poor_t::set_data_points ( sys::state state,
std::vector< float > const &  datapoints,
float  min,
float  max 
)

Definition at line 3832 of file budgetwindow.cpp.

◆ test_mouse()

ui::message_result alice_ui::budgetwindow_main_welfare_chart_poor_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 883 of file budgetwindow.cpp.

Member Data Documentation

◆ line_color

ogl::color4f alice_ui::budgetwindow_main_welfare_chart_poor_t::line_color { 0.854902f, 0.254902f, 0.192157f, 1.000000f }

Definition at line 876 of file budgetwindow.cpp.

◆ lines

ogl::lines alice_ui::budgetwindow_main_welfare_chart_poor_t::lines { 32 }

Definition at line 875 of file budgetwindow.cpp.


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