The Battle for Wesnoth 1.21.0-dev
 
Loading...
Searching...
No Matches
field-fwd.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2008 - 2025
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
23namespace gui2
24{
25
26class widget;
27class window;
28
29class field_base;
30class field_bool;
31class field_label;
32class field_text;
33
34// NOTE the const must be in the template else things fail :/ bug in gcc?
35template <class T, class W, class CT = const T>
36class field;
37class integer_selector;
39
40} // namespace gui2
Template class to implement the generic field implementation.
Definition field.hpp:245
Generic file dialog.
field< int, integer_selector > field_integer
Definition field-fwd.hpp:38