OpenTTD: src/widgets/town_widget.h Source File

OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

town_widget.h
Go to the documentation of this file.
1 /* $Id: town_widget.h 25094 2013-03-17 15:41:40Z alberth $ */
2
3 /*
4 * This file is part of OpenTTD.
5 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
6 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
8 */
9
12 #ifndef WIDGETS_TOWN_WIDGET_H
13 #define WIDGETS_TOWN_WIDGET_H
14
16 enum TownDirectoryWidgets {
17 WID_TD_SORT_ORDER,
18 WID_TD_SORT_CRITERIA,
19 WID_TD_LIST,
20 WID_TD_SCROLLBAR,
21 WID_TD_WORLD_POPULATION,
22 };
23
25 enum TownAuthorityWidgets {
26 WID_TA_CAPTION,
27 WID_TA_RATING_INFO,
28 WID_TA_COMMAND_LIST,
29 WID_TA_SCROLLBAR,
30 WID_TA_ACTION_INFO,
31 WID_TA_EXECUTE,
32 };
33
35 enum TownViewWidgets {
36 WID_TV_CAPTION,
37 WID_TV_VIEWPORT,
38 WID_TV_INFO,
39 WID_TV_CENTER_VIEW,
40 WID_TV_SHOW_AUTHORITY,
41 WID_TV_CHANGE_NAME,
42 WID_TV_EXPAND,
43 WID_TV_DELETE,
44 };
45
47 enum TownFoundingWidgets {
48 WID_TF_NEW_TOWN,
49 WID_TF_RANDOM_TOWN,
50 WID_TF_MANY_RANDOM_TOWNS,
51 WID_TF_TOWN_NAME_EDITBOX,
52 WID_TF_TOWN_NAME_RANDOM,
53 WID_TF_SIZE_SMALL,
54 WID_TF_SIZE_MEDIUM,
55 WID_TF_SIZE_LARGE,
56 WID_TF_SIZE_RANDOM,
57 WID_TF_CITY,
58 WID_TF_LAYOUT_ORIGINAL,
59 WID_TF_LAYOUT_BETTER,
60 WID_TF_LAYOUT_GRID2,
61 WID_TF_LAYOUT_GRID3,
62 WID_TF_LAYOUT_RANDOM,
63 };
64
65 #endif /* WIDGETS_TOWN_WIDGET_H */