The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces
field.hpp File Reference

Implements some helper classes to ease adding fields to a dialog and hide the synchronization needed. More...

#include "gui/auxiliary/find_widget.hpp"
#include "gui/auxiliary/field-fwd.hpp"
#include "gui/widgets/control.hpp"
#include "gui/widgets/selectable.hpp"
#include "gui/widgets/text_box.hpp"
#include "gui/widgets/window.hpp"
#include "wml_exception.hpp"
Include dependency graph for field.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gui2::tfield_
 Abstract base class for the fields. More...
 
class  gui2::tfield< T, W, CT >
 Template class to implement the generic field implementation. More...
 
class  gui2::tfield_bool
 Specialized field class for boolean. More...
 
class  gui2::tfield_text
 Specialized field class for text. More...
 
class  gui2::tfield_label
 Specialized field class for a control, used for labels and images. More...
 

Namespaces

 gui2
 A class inherited from ttext_box that displays its input as stars.
 

Detailed Description

Implements some helper classes to ease adding fields to a dialog and hide the synchronization needed.

Since some templates are used all is stored in the header.

Definition in file field.hpp.