Public Member Functions | Static Public Member Functions | Private Member Functions

gui2::tedit_label Class Reference

#include <edit_label.hpp>

Inheritance diagram for gui2::tedit_label:
Inheritance graph
[legend]
Collaboration diagram for gui2::tedit_label:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 tedit_label (std::string &label, bool &team_only)
 Constructor.

Static Public Member Functions

static bool execute (std::string &label, bool &team_only, CVideo &video)
 The excute function see tdialog for more information.

Private Member Functions

virtual const std::string & window_id () const
 Inherited from tdialog, implemented by REGISTER_DIALOG.

Detailed Description

Definition at line 23 of file edit_label.hpp.


Constructor & Destructor Documentation

gui2::tedit_label::tedit_label ( std::string &  label,
bool &  team_only 
)

Constructor.

Parameters:
label [in] The initial value of the label.
label [out] The label text the user entered if the dialog returns twindow::OK undefined otherise.
team_only [in] The initial value of the team only toggle.
team_only [out] The final value of the team only toggle if the dialog returns twindow::OK undefined otherise.

Definition at line 49 of file edit_label.cpp.

Referenced by execute().

Here is the caller graph for this function:


Member Function Documentation

static bool gui2::tedit_label::execute ( std::string &  label,
bool &  team_only,
CVideo video 
) [inline, static]

The excute function see tdialog for more information.

Definition at line 40 of file edit_label.hpp.

References tedit_label().

Referenced by events::menu_handler::label_terrain().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual const std::string& gui2::tedit_label::window_id (  )  const [private, virtual]

Inherited from tdialog, implemented by REGISTER_DIALOG.

Implements gui2::tdialog.


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

Generated by doxygen 1.7.1 on Thu May 24 2012 01:22:04 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs