The Battle for Wesnoth  1.13.10+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 - 2017 by Mark de Wever <koraq@xs4all.nl>
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 #pragma once
21 
22 namespace gui2
23 {
24 
25 class widget;
26 class window;
27 
28 class field_base;
29 class field_bool;
30 class field_label;
31 class field_text;
32 
33 // NOTE the const must be in the template else things fail :/ bug in gcc?
34 template <class T, class W, class CT = const T>
35 class field;
38 
39 } // namespace gui2
Abstract base class for the fields.
Definition: field.hpp:43
Specialized field class for boolean.
Definition: field.hpp:545
Base class for all widgets.
Definition: widget.hpp:48
Small abstract helper class.
field< int, integer_selector > field_integer
Definition: field-fwd.hpp:36
Generic file dialog.
Definition: field-fwd.hpp:22
Specialized field class for a styled_widget, used for labels and images.
Definition: field.hpp:627
Specialized field class for text.
Definition: field.hpp:593
base class of top level items, the only item which needs to store the final canvases to draw on ...
Definition: window.hpp:62
Template class to implement the generic field implementation.
Definition: field-fwd.hpp:35