Project Alice
Loading...
Searching...
No Matches
ui::diplomacy_action_justify_war_button Class Reference

#include <gui_diplomacy_actions_window.hpp>

Inheritance diagram for ui::diplomacy_action_justify_war_button:
Collaboration diagram for ui::diplomacy_action_justify_war_button:

Public Member Functions

dcon::text_key get_name (sys::state &state, dcon::nation_id target) noexcept override
 
bool is_available (sys::state &state, dcon::nation_id target) noexcept override
 
void button_action (sys::state &state, dcon::nation_id target, ui::element_base *parent) noexcept override
 
void update_tooltip (sys::state &state, int32_t x, int32_t y, text::columnar_layout &contents, dcon::nation_id target) noexcept override
 
virtual dcon::text_key get_name (sys::state &state, dcon::nation_id target)
 
virtual bool is_available (sys::state &state, dcon::nation_id target)
 
virtual void button_action (sys::state &state, dcon::nation_id target, ui::element_base *parent)
 
virtual void update_tooltip (sys::state &state, int32_t x, int32_t y, text::columnar_layout &contents, dcon::nation_id target)
 

Detailed Description

Definition at line 948 of file gui_diplomacy_actions_window.hpp.

Member Function Documentation

◆ button_action()

void ui::diplomacy_action_justify_war_button::button_action ( sys::state state,
dcon::nation_id  target,
ui::element_base parent 
)
inlineoverridevirtualnoexcept

Reimplemented from ui::diplomacy_action_btn_logic.

Definition at line 987 of file gui_diplomacy_actions_window.hpp.

◆ get_name()

dcon::text_key ui::diplomacy_action_justify_war_button::get_name ( sys::state state,
dcon::nation_id  target 
)
inlineoverridevirtualnoexcept

Reimplemented from ui::diplomacy_action_btn_logic.

Definition at line 959 of file gui_diplomacy_actions_window.hpp.

◆ is_available()

bool ui::diplomacy_action_justify_war_button::is_available ( sys::state state,
dcon::nation_id  target 
)
inlineoverridevirtualnoexcept

Reimplemented from ui::diplomacy_action_btn_logic.

Definition at line 963 of file gui_diplomacy_actions_window.hpp.

Here is the call graph for this function:

◆ update_tooltip()

void ui::diplomacy_action_justify_war_button::update_tooltip ( sys::state state,
int32_t  x,
int32_t  y,
text::columnar_layout contents,
dcon::nation_id  target 
)
inlineoverridevirtualnoexcept

Reimplemented from ui::diplomacy_action_btn_logic.

Definition at line 994 of file gui_diplomacy_actions_window.hpp.

Here is the call graph for this function:

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