Fix #10490: Allow ships to exit depots if another is not moving at the exit point...
[openttd-github.git] / src / widgets / misc_widget.h
bloba3ec814f1bdbaf674b2facc6d2e07a4a2d0c6e74
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 : WidgetID {
15 WID_LI_LOCATION, ///< Scroll to location.
16 WID_LI_BACKGROUND, ///< Background of the window.
19 /** Widgets of the #TooltipsWindow class. */
20 enum ToolTipsWidgets : WidgetID {
21 WID_TT_BACKGROUND, ///< Background of the window.
24 /** Widgets of the #AboutWindow class. */
25 enum AboutWidgets : WidgetID {
26 WID_A_SCROLLING_TEXT, ///< The actually scrolling text.
27 WID_A_WEBSITE, ///< URL of OpenTTD website.
28 WID_A_COPYRIGHT, ///< Copyright string
31 /** Widgets of the #QueryStringWindow class. */
32 enum QueryStringWidgets : WidgetID {
33 WID_QS_CAPTION, ///< Caption of the window.
34 WID_QS_TEXT, ///< Text of the query.
35 WID_QS_WARNING, ///< Warning label about password security
36 WID_QS_DEFAULT, ///< Default button.
37 WID_QS_CANCEL, ///< Cancel button.
38 WID_QS_OK, ///< OK button.
41 /** Widgets of the #QueryWindow class. */
42 enum QueryWidgets : WidgetID {
43 WID_Q_CAPTION, ///< Caption of the window.
44 WID_Q_TEXT, ///< Text of the query.
45 WID_Q_NO, ///< Yes button.
46 WID_Q_YES, ///< No button.
49 /** Widgets of the #TextfileWindow class. */
50 enum TextfileWidgets : WidgetID {
51 WID_TF_CAPTION, ///< The caption of the window.
52 WID_TF_NAVBACK, ///< Navigate back button.
53 WID_TF_NAVFORWARD, ///< Navigate forward button.
54 WID_TF_WRAPTEXT, ///< Whether or not to wrap the text.
55 WID_TF_JUMPLIST, ///< List to jump around the file.
56 WID_TF_SEL_JUMPLIST, ///< Selection to display the jump list or not.
57 WID_TF_BACKGROUND, ///< Panel to draw the textfile on.
58 WID_TF_VSCROLLBAR, ///< Vertical scrollbar to scroll through the textfile up-and-down.
59 WID_TF_HSCROLLBAR, ///< Horizontal scrollbar to scroll through the textfile left-to-right.
62 #endif /* WIDGETS_MISC_WIDGET_H */