(svn r27729) -Codechange: Do not count static NewGRF when checking for the maximum...
[openttd.git] / src / widgets / misc_widget.h
bloba6dd081a9d09a86fafd679a1a836fe08523da90b
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 misc_widget.h Types related to the misc widgets. */
12 #ifndef WIDGETS_MISC_WIDGET_H
13 #define WIDGETS_MISC_WIDGET_H
15 /** Widgets of the #LandInfoWindow class. */
16 enum LandInfoWidgets {
17 WID_LI_BACKGROUND, ///< Background of the window.
20 /** Widgets of the #TooltipsWindow class. */
21 enum ToolTipsWidgets {
22 WID_TT_BACKGROUND, ///< Background of the window.
25 /** Widgets of the #AboutWindow class. */
26 enum AboutWidgets {
27 WID_A_SCROLLING_TEXT, ///< The actually scrolling text.
28 WID_A_WEBSITE, ///< URL of OpenTTD website.
31 /** Widgets of the #QueryStringWindow class. */
32 enum QueryStringWidgets {
33 WID_QS_CAPTION, ///< Caption of the window.
34 WID_QS_TEXT, ///< Text of the query.
35 WID_QS_DEFAULT, ///< Default button.
36 WID_QS_CANCEL, ///< Cancel button.
37 WID_QS_OK, ///< OK button.
40 /** Widgets of the #QueryWindow class. */
41 enum QueryWidgets {
42 WID_Q_CAPTION, ///< Caption of the window.
43 WID_Q_TEXT, ///< Text of the query.
44 WID_Q_NO, ///< Yes button.
45 WID_Q_YES, ///< No button.
48 /** Widgets of the #TextfileWindow class. */
49 enum TextfileWidgets {
50 WID_TF_CAPTION, ///< The caption of the window.
51 WID_TF_WRAPTEXT, ///< Whether or not to wrap the text.
52 WID_TF_BACKGROUND, ///< Panel to draw the textfile on.
53 WID_TF_VSCROLLBAR, ///< Vertical scrollbar to scroll through the textfile up-and-down.
54 WID_TF_HSCROLLBAR, ///< Horizontal scrollbar to scroll through the textfile left-to-right.
57 #endif /* WIDGETS_MISC_WIDGET_H */