(svn r27950) -Merge: Documentation updates from 1.7 branch
[openttd.git] / src / widgets / settings_widget.h
blob661f788cd737fb4155c956b7a386ec5c75dd989a
1 /* $Id$ */
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 */
10 /** @file settings_widget.h Types related to the settings widgets. */
12 #ifndef WIDGETS_SETTINGS_WIDGET_H
13 #define WIDGETS_SETTINGS_WIDGET_H
15 /** Widgets of the #GameOptionsWindow class. */
16 enum GameOptionsWidgets {
17 WID_GO_BACKGROUND, ///< Background of the window.
18 WID_GO_CURRENCY_DROPDOWN, ///< Currency dropdown.
19 WID_GO_DISTANCE_DROPDOWN, ///< Measuring unit dropdown.
20 WID_GO_ROADSIDE_DROPDOWN, ///< Dropdown to select the road side (to set the right side ;)).
21 WID_GO_TOWNNAME_DROPDOWN, ///< Town name dropdown.
22 WID_GO_AUTOSAVE_DROPDOWN, ///< Dropdown to say how often to autosave.
23 WID_GO_LANG_DROPDOWN, ///< Language dropdown.
24 WID_GO_RESOLUTION_DROPDOWN, ///< Dropdown for the resolution.
25 WID_GO_FULLSCREEN_BUTTON, ///< Toggle fullscreen.
26 WID_GO_GUI_ZOOM_DROPDOWN, ///< Dropdown for the GUI zoom level.
27 WID_GO_BASE_GRF_DROPDOWN, ///< Use to select a base GRF.
28 WID_GO_BASE_GRF_STATUS, ///< Info about missing files etc.
29 WID_GO_BASE_GRF_TEXTFILE, ///< Open base GRF readme, changelog (+1) or license (+2).
30 WID_GO_BASE_GRF_DESCRIPTION = WID_GO_BASE_GRF_TEXTFILE + TFT_END, ///< Description of selected base GRF.
31 WID_GO_BASE_SFX_DROPDOWN, ///< Use to select a base SFX.
32 WID_GO_BASE_SFX_TEXTFILE, ///< Open base SFX readme, changelog (+1) or license (+2).
33 WID_GO_BASE_SFX_DESCRIPTION = WID_GO_BASE_SFX_TEXTFILE + TFT_END, ///< Description of selected base SFX.
34 WID_GO_BASE_MUSIC_DROPDOWN, ///< Use to select a base music set.
35 WID_GO_BASE_MUSIC_STATUS, ///< Info about corrupted files etc.
36 WID_GO_BASE_MUSIC_TEXTFILE, ///< Open base music readme, changelog (+1) or license (+2).
37 WID_GO_BASE_MUSIC_DESCRIPTION = WID_GO_BASE_MUSIC_TEXTFILE + TFT_END, ///< Description of selected base music set.
40 /** Widgets of the #GameSettingsWindow class. */
41 enum GameSettingsWidgets {
42 WID_GS_FILTER, ///< Text filter.
43 WID_GS_OPTIONSPANEL, ///< Panel widget containing the option lists.
44 WID_GS_SCROLLBAR, ///< Scrollbar.
45 WID_GS_HELP_TEXT, ///< Information area to display help text of the selected option.
46 WID_GS_EXPAND_ALL, ///< Expand all button.
47 WID_GS_COLLAPSE_ALL, ///< Collapse all button.
48 WID_GS_RESTRICT_CATEGORY, ///< Label upfront to the category drop-down box to restrict the list of settings to show
49 WID_GS_RESTRICT_TYPE, ///< Label upfront to the type drop-down box to restrict the list of settings to show
50 WID_GS_RESTRICT_DROPDOWN, ///< The drop down box to restrict the list of settings
51 WID_GS_TYPE_DROPDOWN, ///< The drop down box to choose client/game/company/all settings
54 /** Widgets of the #CustomCurrencyWindow class. */
55 enum CustomCurrencyWidgets {
56 WID_CC_RATE_DOWN, ///< Down button.
57 WID_CC_RATE_UP, ///< Up button.
58 WID_CC_RATE, ///< Rate of currency.
59 WID_CC_SEPARATOR_EDIT, ///< Separator edit button.
60 WID_CC_SEPARATOR, ///< Current separator.
61 WID_CC_PREFIX_EDIT, ///< Prefix edit button.
62 WID_CC_PREFIX, ///< Current prefix.
63 WID_CC_SUFFIX_EDIT, ///< Suffix edit button.
64 WID_CC_SUFFIX, ///< Current suffix.
65 WID_CC_YEAR_DOWN, ///< Down button.
66 WID_CC_YEAR_UP, ///< Up button.
67 WID_CC_YEAR, ///< Year of introduction.
68 WID_CC_PREVIEW, ///< Preview.
71 #endif /* WIDGETS_SETTINGS_WIDGET_H */