Project Alice
Loading...
Searching...
No Matches
alice_ui::budgetwindow_main_t Struct Reference
Inheritance diagram for alice_ui::budgetwindow_main_t:
Collaboration diagram for alice_ui::budgetwindow_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

budgetwindow_main_close_button_tclose_button = nullptr
 
budgetwindow_main_title_ttitle = nullptr
 
budgetwindow_main_income_label_tincome_label = nullptr
 
budgetwindow_main_income_amount_tincome_amount = nullptr
 
budgetwindow_main_income_page_left_tincome_page_left = nullptr
 
budgetwindow_main_income_page_right_tincome_page_right = nullptr
 
budgetwindow_main_income_page_number_tincome_page_number = nullptr
 
budgetwindow_main_income_table_tincome_table = nullptr
 
budgetwindow_main_expenses_page_left_texpenses_page_left = nullptr
 
budgetwindow_main_expenses_page_number_texpenses_page_number = nullptr
 
budgetwindow_main_expenses_page_right_texpenses_page_right = nullptr
 
budgetwindow_main_expenses_label_texpenses_label = nullptr
 
budgetwindow_main_expenses_amount_texpenses_amount = nullptr
 
budgetwindow_main_expenses_table_texpenses_table = nullptr
 
budgetwindow_main_admin_eff1_tadmin_eff1 = nullptr
 
budgetwindow_main_admin_eff2_tadmin_eff2 = nullptr
 
budgetwindow_main_admin_eff_amount_tadmin_eff_amount = nullptr
 
budgetwindow_main_welfare_label_twelfare_label = nullptr
 
budgetwindow_main_chart_max_a_tchart_max_a = nullptr
 
budgetwindow_main_chart_min_tchart_min = nullptr
 
budgetwindow_main_chart_max_b_tchart_max_b = nullptr
 
budgetwindow_main_chart_poplabel_tchart_poplabel = nullptr
 
budgetwindow_main_chart_needslabel_tchart_needslabel = nullptr
 
budgetwindow_main_welfare_chart_poor_twelfare_chart_poor = nullptr
 
budgetwindow_main_welfare_chart_middle_twelfare_chart_middle = nullptr
 
budgetwindow_main_welfare_chart_rich_twelfare_chart_rich = nullptr
 
budgetwindow_main_hover_poor_thover_poor = nullptr
 
budgetwindow_main_hover_middle_thover_middle = nullptr
 
budgetwindow_main_hover_rich_thover_rich = nullptr
 
budgetwindow_main_debt_label_tdebt_label = nullptr
 
budgetwindow_main_debt_enable_tdebt_enable = nullptr
 
budgetwindow_main_total_debt_label_ttotal_debt_label = nullptr
 
budgetwindow_main_max_debt_label_tmax_debt_label = nullptr
 
budgetwindow_main_total_debt_amount_ttotal_debt_amount = nullptr
 
budgetwindow_main_max_debt_amount_tmax_debt_amount = nullptr
 
budgetwindow_main_debt_chart_tdebt_chart = nullptr
 
budgetwindow_main_debt_overlay_tdebt_overlay = 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 1539 of file budgetwindow.cpp.

Member Function Documentation

◆ on_create()

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

Reimplemented from ui::element_base.

Definition at line 4620 of file budgetwindow.cpp.

Here is the call graph for this function:

◆ on_drag()

void alice_ui::budgetwindow_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 1586 of file budgetwindow.cpp.

Here is the call graph for this function:

◆ on_lbutton_down()

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

◆ on_rbutton_down()

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

◆ on_update()

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

Reimplemented from ui::element_base.

Definition at line 4616 of file budgetwindow.cpp.

◆ render()

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

Reimplemented from ui::element_base.

Definition at line 4613 of file budgetwindow.cpp.

Here is the call graph for this function:

◆ test_mouse()

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

Member Data Documentation

◆ admin_eff1

budgetwindow_main_admin_eff1_t* alice_ui::budgetwindow_main_t::admin_eff1 = nullptr

Definition at line 1554 of file budgetwindow.cpp.

◆ admin_eff2

budgetwindow_main_admin_eff2_t* alice_ui::budgetwindow_main_t::admin_eff2 = nullptr

Definition at line 1555 of file budgetwindow.cpp.

◆ admin_eff_amount

budgetwindow_main_admin_eff_amount_t* alice_ui::budgetwindow_main_t::admin_eff_amount = nullptr

Definition at line 1556 of file budgetwindow.cpp.

◆ background_texture

dcon::texture_id alice_ui::budgetwindow_main_t::background_texture

Definition at line 1578 of file budgetwindow.cpp.

◆ chart_max_a

budgetwindow_main_chart_max_a_t* alice_ui::budgetwindow_main_t::chart_max_a = nullptr

Definition at line 1558 of file budgetwindow.cpp.

◆ chart_max_b

budgetwindow_main_chart_max_b_t* alice_ui::budgetwindow_main_t::chart_max_b = nullptr

Definition at line 1560 of file budgetwindow.cpp.

◆ chart_min

budgetwindow_main_chart_min_t* alice_ui::budgetwindow_main_t::chart_min = nullptr

Definition at line 1559 of file budgetwindow.cpp.

◆ chart_needslabel

budgetwindow_main_chart_needslabel_t* alice_ui::budgetwindow_main_t::chart_needslabel = nullptr

Definition at line 1562 of file budgetwindow.cpp.

◆ chart_poplabel

budgetwindow_main_chart_poplabel_t* alice_ui::budgetwindow_main_t::chart_poplabel = nullptr

Definition at line 1561 of file budgetwindow.cpp.

◆ close_button

budgetwindow_main_close_button_t* alice_ui::budgetwindow_main_t::close_button = nullptr

Definition at line 1540 of file budgetwindow.cpp.

◆ debt_chart

budgetwindow_main_debt_chart_t* alice_ui::budgetwindow_main_t::debt_chart = nullptr

Definition at line 1575 of file budgetwindow.cpp.

◆ debt_enable

budgetwindow_main_debt_enable_t* alice_ui::budgetwindow_main_t::debt_enable = nullptr

Definition at line 1570 of file budgetwindow.cpp.

◆ debt_label

budgetwindow_main_debt_label_t* alice_ui::budgetwindow_main_t::debt_label = nullptr

Definition at line 1569 of file budgetwindow.cpp.

◆ debt_overlay

budgetwindow_main_debt_overlay_t* alice_ui::budgetwindow_main_t::debt_overlay = nullptr

Definition at line 1576 of file budgetwindow.cpp.

◆ expenses_amount

budgetwindow_main_expenses_amount_t* alice_ui::budgetwindow_main_t::expenses_amount = nullptr

Definition at line 1552 of file budgetwindow.cpp.

◆ expenses_label

budgetwindow_main_expenses_label_t* alice_ui::budgetwindow_main_t::expenses_label = nullptr

Definition at line 1551 of file budgetwindow.cpp.

◆ expenses_page_left

budgetwindow_main_expenses_page_left_t* alice_ui::budgetwindow_main_t::expenses_page_left = nullptr

Definition at line 1548 of file budgetwindow.cpp.

◆ expenses_page_number

budgetwindow_main_expenses_page_number_t* alice_ui::budgetwindow_main_t::expenses_page_number = nullptr

Definition at line 1549 of file budgetwindow.cpp.

◆ expenses_page_right

budgetwindow_main_expenses_page_right_t* alice_ui::budgetwindow_main_t::expenses_page_right = nullptr

Definition at line 1550 of file budgetwindow.cpp.

◆ expenses_table

budgetwindow_main_expenses_table_t* alice_ui::budgetwindow_main_t::expenses_table = nullptr

Definition at line 1553 of file budgetwindow.cpp.

◆ hover_middle

budgetwindow_main_hover_middle_t* alice_ui::budgetwindow_main_t::hover_middle = nullptr

Definition at line 1567 of file budgetwindow.cpp.

◆ hover_poor

budgetwindow_main_hover_poor_t* alice_ui::budgetwindow_main_t::hover_poor = nullptr

Definition at line 1566 of file budgetwindow.cpp.

◆ hover_rich

budgetwindow_main_hover_rich_t* alice_ui::budgetwindow_main_t::hover_rich = nullptr

Definition at line 1568 of file budgetwindow.cpp.

◆ income_amount

budgetwindow_main_income_amount_t* alice_ui::budgetwindow_main_t::income_amount = nullptr

Definition at line 1543 of file budgetwindow.cpp.

◆ income_label

budgetwindow_main_income_label_t* alice_ui::budgetwindow_main_t::income_label = nullptr

Definition at line 1542 of file budgetwindow.cpp.

◆ income_page_left

budgetwindow_main_income_page_left_t* alice_ui::budgetwindow_main_t::income_page_left = nullptr

Definition at line 1544 of file budgetwindow.cpp.

◆ income_page_number

budgetwindow_main_income_page_number_t* alice_ui::budgetwindow_main_t::income_page_number = nullptr

Definition at line 1546 of file budgetwindow.cpp.

◆ income_page_right

budgetwindow_main_income_page_right_t* alice_ui::budgetwindow_main_t::income_page_right = nullptr

Definition at line 1545 of file budgetwindow.cpp.

◆ income_table

budgetwindow_main_income_table_t* alice_ui::budgetwindow_main_t::income_table = nullptr

Definition at line 1547 of file budgetwindow.cpp.

◆ max_debt_amount

budgetwindow_main_max_debt_amount_t* alice_ui::budgetwindow_main_t::max_debt_amount = nullptr

Definition at line 1574 of file budgetwindow.cpp.

◆ max_debt_label

budgetwindow_main_max_debt_label_t* alice_ui::budgetwindow_main_t::max_debt_label = nullptr

Definition at line 1572 of file budgetwindow.cpp.

◆ texture_key

std::string_view alice_ui::budgetwindow_main_t::texture_key

Definition at line 1577 of file budgetwindow.cpp.

◆ title

budgetwindow_main_title_t* alice_ui::budgetwindow_main_t::title = nullptr

Definition at line 1541 of file budgetwindow.cpp.

◆ total_debt_amount

budgetwindow_main_total_debt_amount_t* alice_ui::budgetwindow_main_t::total_debt_amount = nullptr

Definition at line 1573 of file budgetwindow.cpp.

◆ total_debt_label

budgetwindow_main_total_debt_label_t* alice_ui::budgetwindow_main_t::total_debt_label = nullptr

Definition at line 1571 of file budgetwindow.cpp.

◆ welfare_chart_middle

budgetwindow_main_welfare_chart_middle_t* alice_ui::budgetwindow_main_t::welfare_chart_middle = nullptr

Definition at line 1564 of file budgetwindow.cpp.

◆ welfare_chart_poor

budgetwindow_main_welfare_chart_poor_t* alice_ui::budgetwindow_main_t::welfare_chart_poor = nullptr

Definition at line 1563 of file budgetwindow.cpp.

◆ welfare_chart_rich

budgetwindow_main_welfare_chart_rich_t* alice_ui::budgetwindow_main_t::welfare_chart_rich = nullptr

Definition at line 1565 of file budgetwindow.cpp.

◆ welfare_label

budgetwindow_main_welfare_label_t* alice_ui::budgetwindow_main_t::welfare_label = nullptr

Definition at line 1557 of file budgetwindow.cpp.


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