The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
field-fwd.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2008 - 2016 by Mark de Wever <[email protected]>
3  Part of the Battle for Wesnoth Project http://www.wesnoth.org/
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY.
11 
12  See the COPYING file for more details.
13 */
14 
15 /**
16  * @file
17  * Contains all forward declarations for field.hpp.
18  */
19 
20 #ifndef GUI_DIALOGS_FIELD_FORWARD_HPP_INCLUDED
21 #define GUI_DIALOGS_FIELD_FORWARD_HPP_INCLUDED
22 
23 namespace gui2
24 {
25 
26 class twidget;
27 class twindow;
28 
29 class tfield_;
30 class tfield_bool;
31 class tfield_label;
32 class tfield_text;
33 
34 // NOTE the const must be in the template else things fail :/ bug in gcc?
35 template <class T, class W, class CT = const T>
36 class tfield;
39 
40 } // namespace gui2
41 
42 #endif
Abstract base class for the fields.
Definition: field.hpp:44
Small abstract helper class.
Template class to implement the generic field implementation.
Definition: field-fwd.hpp:36
base class of top level items, the only item which needs to store the final canvases to draw on ...
Definition: window.hpp:62
A class inherited from ttext_box that displays its input as stars.
Definition: field-fwd.hpp:23
Base class for all widgets.
Definition: widget.hpp:49
Specialized field class for boolean.
Definition: field.hpp:547
Specialized field class for a control, used for labels and images.
Definition: field.hpp:622
Specialized field class for text.
Definition: field.hpp:588
tfield< int, tinteger_selector_ > tfield_integer
Definition: field-fwd.hpp:37