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. | |
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.
| static void gui2::tmessage_implementation::init_button | ( | twindow & | window, | |
| tmessage::tbutton_status & | button_status, | |||
| const std::string & | id | |||
| ) | [inline, static] |
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::tmessage::tbutton_status::button, gui2::tmessage::tbutton_status::caption, 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().


| Generated by doxygen 1.7.1 on Fri May 25 2012 01:21:49 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |