OpenTTD: src/widgets/toolbar_widget.h Source File

OpenTTD

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

- File List
- Globals

toolbar_widget.h
Go to the documentation of this file.
1 /* $Id: toolbar_widget.h 25376 2013-06-09 13:37:04Z zuu $ */
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_TOOLBAR_WIDGET_H
13 #define WIDGETS_TOOLBAR_WIDGET_H
14
16 enum ToolbarNormalWidgets {
17 WID_TN_PAUSE,
18 WID_TN_FAST_FORWARD,
19 WID_TN_SETTINGS,
20 WID_TN_SAVE,
21 WID_TN_SMALL_MAP,
22 WID_TN_TOWNS,
23 WID_TN_SUBSIDIES,
24 WID_TN_STATIONS,
25 WID_TN_FINANCES,
26 WID_TN_COMPANIES,
27 WID_TN_STORY,
28 WID_TN_GOAL,
29 WID_TN_GRAPHS,
30 WID_TN_LEAGUE,
31 WID_TN_INDUSTRIES,
32 WID_TN_VEHICLE_START,
33 WID_TN_TRAINS = WID_TN_VEHICLE_START,
34 WID_TN_ROADVEHS,
35 WID_TN_SHIPS,
36 WID_TN_AIRCRAFTS,
37 WID_TN_ZOOM_IN,
38 WID_TN_ZOOM_OUT,
39 WID_TN_RAILS,
40 WID_TN_ROADS,
41 WID_TN_WATER,
42 WID_TN_AIR,
43 WID_TN_LANDSCAPE,
44 WID_TN_MUSIC_SOUND,
45 WID_TN_MESSAGES,
46 WID_TN_HELP,
47 WID_TN_SWITCH_BAR,
48 WID_TN_END,
49 };
50
52 enum ToolbarEditorWidgets {
53 WID_TE_PAUSE,
54 WID_TE_FAST_FORWARD,
55 WID_TE_SETTINGS,
56 WID_TE_SAVE,
57 WID_TE_SPACER,
58 WID_TE_DATE,
59 WID_TE_DATE_BACKWARD,
60 WID_TE_DATE_FORWARD,
61 WID_TE_SMALL_MAP,
62 WID_TE_ZOOM_IN,
63 WID_TE_ZOOM_OUT,
64 WID_TE_LAND_GENERATE,
65 WID_TE_TOWN_GENERATE,
66 WID_TE_INDUSTRY,
67 WID_TE_ROADS,
68 WID_TE_WATER,
69 WID_TE_TREES,
70 WID_TE_SIGNS,
71 WID_TE_DATE_PANEL,
72 /* The following three need to have the same actual widget number as the normal toolbar due to shared code. */
73 WID_TE_MUSIC_SOUND = WID_TN_MUSIC_SOUND,
74 WID_TE_HELP = WID_TN_HELP,
75 WID_TE_SWITCH_BAR = WID_TN_SWITCH_BAR,
76 };
77
78 #endif /* WIDGETS_TOOLBAR_WIDGET_H */