1 /* $Id: misc_widget.h 25816 2013-10-06 11:29:14Z frosch $ */
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/>.
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. */
27 WID_A_SCROLLING_TEXT
, ///< The actually scrolling text.
28 WID_A_WEBSITE
, ///< URL of OpenTTD website.
29 WID_A_WEBSITE1
, ///< URL of patchpack thread.
30 WID_A_WEBSITE2
, ///< URL of patchpack github.
33 /** Widgets of the #QueryStringWindow class. */
34 enum QueryStringWidgets
{
35 WID_QS_CAPTION
, ///< Caption of the window.
36 WID_QS_TEXT
, ///< Text of the query.
37 WID_QS_DEFAULT
, ///< Default button.
38 WID_QS_CANCEL
, ///< Cancel button.
39 WID_QS_OK
, ///< OK button.
42 /** Widgets of the #QueryWindow class. */
44 WID_Q_CAPTION
, ///< Caption of the window.
45 WID_Q_TEXT
, ///< Text of the query.
46 WID_Q_NO
, ///< Yes button.
47 WID_Q_YES
, ///< No button.
50 /** Widgets of the #TextfileWindow class. */
51 enum TextfileWidgets
{
52 WID_TF_CAPTION
, ///< The caption of the window.
53 WID_TF_WRAPTEXT
, ///< Whether or not to wrap the text.
54 WID_TF_BACKGROUND
, ///< Panel to draw the textfile on.
55 WID_TF_VSCROLLBAR
, ///< Vertical scrollbar to scroll through the textfile up-and-down.
56 WID_TF_HSCROLLBAR
, ///< Horizontal scrollbar to scroll through the textfile left-to-right.
59 #endif /* WIDGETS_MISC_WIDGET_H */