OpenTTD Source: src/widgets/misc_widget.h Source File

OpenTTD Source 1.11.0-RC1

misc_widget.h
Go to the documentation of this file.
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 */
7
10 #ifndef WIDGETS_MISC_WIDGET_H
11 #define WIDGETS_MISC_WIDGET_H
12
14 enum LandInfoWidgets {
15 WID_LI_LOCATION,
16 WID_LI_BACKGROUND,
17 };
18
20 enum ToolTipsWidgets {
21 WID_TT_BACKGROUND,
22 };
23
25 enum AboutWidgets {
26 WID_A_SCROLLING_TEXT,
27 WID_A_WEBSITE,
28 WID_A_COPYRIGHT,
29 };
30
32 enum QueryStringWidgets {
33 WID_QS_CAPTION,
34 WID_QS_TEXT,
35 WID_QS_WARNING,
36 WID_QS_DEFAULT,
37 WID_QS_CANCEL,
38 WID_QS_OK,
39 };
40
42 enum QueryWidgets {
43 WID_Q_CAPTION,
44 WID_Q_TEXT,
45 WID_Q_NO,
46 WID_Q_YES,
47 };
48
50 enum TextfileWidgets {
51 WID_TF_CAPTION,
52 WID_TF_WRAPTEXT,
53 WID_TF_BACKGROUND,
54 WID_TF_VSCROLLBAR,
55 WID_TF_HSCROLLBAR,
56 };
57
58 #endif /* WIDGETS_MISC_WIDGET_H */
WID_TF_HSCROLLBAR
@ WID_TF_HSCROLLBAR
Horizontal scrollbar to scroll through the textfile left-to-right.
Definition: misc_widget.h:55
ToolTipsWidgets
ToolTipsWidgets
Widgets of the TooltipsWindow class.
Definition: misc_widget.h:20
WID_Q_YES
@ WID_Q_YES
No button.
Definition: misc_widget.h:46
WID_LI_BACKGROUND
@ WID_LI_BACKGROUND
Background of the window.
Definition: misc_widget.h:16
WID_A_COPYRIGHT
@ WID_A_COPYRIGHT
Copyright string.
Definition: misc_widget.h:28
WID_TT_BACKGROUND
@ WID_TT_BACKGROUND
Background of the window.
Definition: misc_widget.h:21
WID_QS_DEFAULT
@ WID_QS_DEFAULT
Default button.
Definition: misc_widget.h:36
WID_Q_NO
@ WID_Q_NO
Yes button.
Definition: misc_widget.h:45
WID_TF_BACKGROUND
@ WID_TF_BACKGROUND
Panel to draw the textfile on.
Definition: misc_widget.h:53
WID_QS_CAPTION
@ WID_QS_CAPTION
Caption of the window.
Definition: misc_widget.h:33
WID_TF_WRAPTEXT
@ WID_TF_WRAPTEXT
Whether or not to wrap the text.
Definition: misc_widget.h:52
WID_Q_TEXT
@ WID_Q_TEXT
Text of the query.
Definition: misc_widget.h:44
AboutWidgets
AboutWidgets
Widgets of the AboutWindow class.
Definition: misc_widget.h:25
TextfileWidgets
TextfileWidgets
Widgets of the TextfileWindow class.
Definition: misc_widget.h:50
WID_A_WEBSITE
@ WID_A_WEBSITE
URL of OpenTTD website.
Definition: misc_widget.h:27
QueryStringWidgets
QueryStringWidgets
Widgets of the QueryStringWindow class.
Definition: misc_widget.h:32
WID_TF_VSCROLLBAR
@ WID_TF_VSCROLLBAR
Vertical scrollbar to scroll through the textfile up-and-down.
Definition: misc_widget.h:54
WID_A_SCROLLING_TEXT
@ WID_A_SCROLLING_TEXT
The actually scrolling text.
Definition: misc_widget.h:26
WID_QS_WARNING
@ WID_QS_WARNING
Warning label about password security.
Definition: misc_widget.h:35
WID_Q_CAPTION
@ WID_Q_CAPTION
Caption of the window.
Definition: misc_widget.h:43
WID_QS_OK
@ WID_QS_OK
OK button.
Definition: misc_widget.h:38
WID_QS_CANCEL
@ WID_QS_CANCEL
Cancel button.
Definition: misc_widget.h:37
QueryWidgets
QueryWidgets
Widgets of the QueryWindow class.
Definition: misc_widget.h:42
WID_QS_TEXT
@ WID_QS_TEXT
Text of the query.
Definition: misc_widget.h:34
WID_TF_CAPTION
@ WID_TF_CAPTION
The caption of the window.
Definition: misc_widget.h:51
WID_LI_LOCATION
@ WID_LI_LOCATION
Scroll to location.
Definition: misc_widget.h:15
LandInfoWidgets
LandInfoWidgets
Widgets of the LandInfoWindow class.
Definition: misc_widget.h:14