Public Member Functions | Private Member Functions

gui2::tfield_text Class Reference

Specialized field class for text. More...

#include <field.hpp>

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

List of all members.

Public Member Functions

 tfield_text (const std::string &id, const bool mandatory, std::string(*callback_load_value)(), void(*callback_save_value)(const std::string &value))
 tfield_text (const std::string &id, const bool mandatory, std::string &linked_variable)

Private Member Functions

void finalize_specialized (twindow &window)
 Overridden from tfield_.

Detailed Description

Specialized field class for text.

Definition at line 577 of file field.hpp.


Constructor & Destructor Documentation

gui2::tfield_text::tfield_text ( const std::string &  id,
const bool  mandatory,
std::string(*)()  callback_load_value,
void(*)(const std::string &value)  callback_save_value 
) [inline]

Definition at line 580 of file field.hpp.

gui2::tfield_text::tfield_text ( const std::string &  id,
const bool  mandatory,
std::string &  linked_variable 
) [inline]

Definition at line 589 of file field.hpp.


Member Function Documentation

void gui2::tfield_text::finalize_specialized ( twindow window  )  [inline, private, virtual]

Overridden from tfield_.

Reimplemented from gui2::tfield_.

Definition at line 601 of file field.hpp.

References gui2::twindow::find(), and gui2::ttext_box::save_to_history().

Here is the call graph for this function:


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

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