Specialized field class for boolean. More...
#include <field.hpp>


Public Member Functions | |
| tfield_bool (const std::string &id, const bool mandatory, bool(*callback_load_value)(), void(*callback_save_value)(const bool value), void(*callback_change)(twidget *widget)) | |
| tfield_bool (const std::string &id, const bool mandatory, bool &linked_variable, void(*callback_change)(twidget *widget)) | |
Private Member Functions | |
| void | init_specialized (twindow &window) |
| Overridden from tfield_. | |
Private Attributes | |
| void(* | callback_change_ )(twidget *widget) |
Specialized field class for boolean.
Definition at line 535 of file field.hpp.
| gui2::tfield_bool::tfield_bool | ( | const std::string & | id, | |
| const bool | mandatory, | |||
| bool(*)() | callback_load_value, | |||
| void(*)(const bool value) | callback_save_value, | |||
| void(*)(twidget *widget) | callback_change | |||
| ) | [inline] |
| gui2::tfield_bool::tfield_bool | ( | const std::string & | id, | |
| const bool | mandatory, | |||
| bool & | linked_variable, | |||
| void(*)(twidget *widget) | callback_change | |||
| ) | [inline] |
| void gui2::tfield_bool::init_specialized | ( | twindow & | window | ) | [inline, private, virtual] |
Overridden from tfield_.
Reimplemented from gui2::tfield_.
Definition at line 561 of file field.hpp.
References gui2::twindow::find(), and gui2::tselectable_::set_callback_state_change().

void(* gui2::tfield_bool::callback_change_)(twidget *widget) [private] |
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:22:09 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |