Codechange: Use cached town, station, industry names for list window sorting
[openttd-github.git] / src / widgets / misc_widget.h
blobbc0c07030bcf950b7a3a233cc0e614a5b0da3612
1 /*
2 * This file is part of OpenTTD.
3 * 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.
4 * 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.
5 * 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/>.
6 */
8 /** @file misc_widget.h Types related to the misc widgets. */
10 #ifndef WIDGETS_MISC_WIDGET_H
11 #define WIDGETS_MISC_WIDGET_H
13 /** Widgets of the #LandInfoWindow class. */
14 enum LandInfoWidgets {
15 WID_LI_BACKGROUND, ///< Background of the window.
18 /** Widgets of the #TooltipsWindow class. */
19 enum ToolTipsWidgets {
20 WID_TT_BACKGROUND, ///< Background of the window.
23 /** Widgets of the #AboutWindow class. */
24 enum AboutWidgets {
25 WID_A_SCROLLING_TEXT, ///< The actually scrolling text.
26 WID_A_WEBSITE, ///< URL of OpenTTD website.
29 /** Widgets of the #QueryStringWindow class. */
30 enum QueryStringWidgets {
31 WID_QS_CAPTION, ///< Caption of the window.
32 WID_QS_TEXT, ///< Text of the query.
33 WID_QS_WARNING, ///< Warning label about password security
34 WID_QS_DEFAULT, ///< Default button.
35 WID_QS_CANCEL, ///< Cancel button.
36 WID_QS_OK, ///< OK button.
39 /** Widgets of the #QueryWindow class. */
40 enum QueryWidgets {
41 WID_Q_CAPTION, ///< Caption of the window.
42 WID_Q_TEXT, ///< Text of the query.
43 WID_Q_NO, ///< Yes button.
44 WID_Q_YES, ///< No button.
47 /** Widgets of the #TextfileWindow class. */
48 enum TextfileWidgets {
49 WID_TF_CAPTION, ///< The caption of the window.
50 WID_TF_WRAPTEXT, ///< Whether or not to wrap the text.
51 WID_TF_BACKGROUND, ///< Panel to draw the textfile on.
52 WID_TF_VSCROLLBAR, ///< Vertical scrollbar to scroll through the textfile up-and-down.
53 WID_TF_HSCROLLBAR, ///< Horizontal scrollbar to scroll through the textfile left-to-right.
56 #endif /* WIDGETS_MISC_WIDGET_H */