Helper to implement private functions without modifying the header. More...
Static Public Member Functions | |
static void | init_button (window &window, message::button_status &button_status, const std::string &id) |
Initialiazes a button. More... | |
Helper to implement private functions without modifying the header.
The class is a helper to avoid recompilation and only has static functions.
Definition at line 40 of file message.cpp.
|
inlinestatic |
Initialiazes a button.
window | The window that contains the button. |
button_status | The button status to modify. |
id | The id of the button. |
Definition at line 49 of file message.cpp.
References gui2::dialogs::message::button_status::caption, gui2::widget::find_widget(), id, gui2::NONE, gui2::dialogs::message::button_status::ptr, gui2::dialogs::message::button_status::retval, gui2::styled_widget::set_label(), gui2::button::set_retval(), gui2::widget::set_visible(), and gui2::dialogs::message::button_status::visible.
Referenced by gui2::dialogs::message::pre_show().