The Battle for Wesnoth  1.17.0-dev
field-fwd.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2008 - 2021
3  by Mark de Wever <koraq@xs4all.nl>
4  Part of the Battle for Wesnoth Project https://www.wesnoth.org/
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY.
12 
13  See the COPYING file for more details.
14 */
15 
16 /**
17  * @file
18  * Contains all forward declarations for field.hpp.
19  */
20 
21 #pragma once
22 
23 namespace gui2
24 {
25 
26 class widget;
27 class window;
28 
29 class field_base;
30 class field_bool;
31 class field_label;
32 class field_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 field;
39 
40 } // 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:49
Small abstract helper class.
field< int, integer_selector > field_integer
Definition: field-fwd.hpp:37
Generic file dialog.
Definition: field-fwd.hpp:23
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:65
Template class to implement the generic field implementation.
Definition: field-fwd.hpp:36