OpenTTD: src/widgets/settings_widget.h Source File

OpenTTD

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

- File List
- Globals

settings_widget.h
Go to the documentation of this file.
1 /* $Id: settings_widget.h 26990 2014-10-11 13:22:37Z peter1138 $ */
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_SETTINGS_WIDGET_H
13 #define WIDGETS_SETTINGS_WIDGET_H
14
16 enum GameOptionsWidgets {
17 WID_GO_BACKGROUND,
18 WID_GO_CURRENCY_DROPDOWN,
19 WID_GO_DISTANCE_DROPDOWN,
20 WID_GO_ROADSIDE_DROPDOWN,
21 WID_GO_TOWNNAME_DROPDOWN,
22 WID_GO_AUTOSAVE_DROPDOWN,
23 WID_GO_LANG_DROPDOWN,
24 WID_GO_RESOLUTION_DROPDOWN,
25 WID_GO_FULLSCREEN_BUTTON,
26 WID_GO_GUI_ZOOM_DROPDOWN,
27 WID_GO_BASE_GRF_DROPDOWN,
28 WID_GO_BASE_GRF_STATUS,
29 WID_GO_BASE_GRF_TEXTFILE,
30 WID_GO_BASE_GRF_DESCRIPTION = WID_GO_BASE_GRF_TEXTFILE + TFT_END,
31 WID_GO_BASE_SFX_DROPDOWN,
32 WID_GO_BASE_SFX_TEXTFILE,
33 WID_GO_BASE_SFX_DESCRIPTION = WID_GO_BASE_SFX_TEXTFILE + TFT_END,
34 WID_GO_BASE_MUSIC_DROPDOWN,
35 WID_GO_BASE_MUSIC_STATUS,
36 WID_GO_BASE_MUSIC_TEXTFILE,
37 WID_GO_BASE_MUSIC_DESCRIPTION = WID_GO_BASE_MUSIC_TEXTFILE + TFT_END,
38 };
39
41 enum GameSettingsWidgets {
42 WID_GS_FILTER,
43 WID_GS_OPTIONSPANEL,
44 WID_GS_SCROLLBAR,
45 WID_GS_HELP_TEXT,
46 WID_GS_EXPAND_ALL,
47 WID_GS_COLLAPSE_ALL,
48 WID_GS_RESTRICT_CATEGORY,
49 WID_GS_RESTRICT_TYPE,
50 WID_GS_RESTRICT_DROPDOWN,
51 WID_GS_TYPE_DROPDOWN,
52 };
53
55 enum CustomCurrencyWidgets {
56 WID_CC_RATE_DOWN,
57 WID_CC_RATE_UP,
58 WID_CC_RATE,
59 WID_CC_SEPARATOR_EDIT,
60 WID_CC_SEPARATOR,
61 WID_CC_PREFIX_EDIT,
62 WID_CC_PREFIX,
63 WID_CC_SUFFIX_EDIT,
64 WID_CC_SUFFIX,
65 WID_CC_YEAR_DOWN,
66 WID_CC_YEAR_UP,
67 WID_CC_YEAR,
68 WID_CC_PREVIEW,
69 };
70
71 #endif /* WIDGETS_SETTINGS_WIDGET_H */