Static Public Member Functions

gui2::tmessage_implementation Struct Reference

Helper to implement private functions without modifying the header. More...

List of all members.

Static Public Member Functions

static void init_button (twindow &window, tmessage::tbutton_status &button_status, const std::string &id)
 Initialiazes a button.

Detailed Description

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.


Member Function Documentation

static void gui2::tmessage_implementation::init_button ( twindow window,
tmessage::tbutton_status button_status,
const std::string &  id 
) [inline, static]

Initialiazes a button.

Parameters:
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().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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