Helper to implement private functions without modifying the header. More...
Static Public Member Functions | |
static void | init_button (twindow &window, tmessage::tbutton_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 39 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 48 of file message.cpp.
References gui2::tmessage::tbutton_status::button, gui2::tmessage::tbutton_status::caption, gui2::id, gui2::twindow::NONE, gui2::tmessage::tbutton_status::retval, gui2::tcontrol::set_label(), gui2::tbutton::set_retval(), gui2::twidget::set_visible(), and gui2::tmessage::tbutton_status::visible.
Referenced by gui2::tmessage::pre_show().