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

OpenTTD Source 15.0-beta1

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 : WidgetID {
15 WID_LI_LOCATION,
16 WID_LI_BACKGROUND,
17};
18
20 enum ToolTipsWidgets : WidgetID {
21 WID_TT_BACKGROUND,
22};
23
25 enum AboutWidgets : WidgetID {
26 WID_A_SCROLLING_TEXT,
27 WID_A_WEBSITE,
28 WID_A_COPYRIGHT,
29};
30
32 enum QueryStringWidgets : WidgetID {
33 WID_QS_CAPTION,
34 WID_QS_TEXT,
35 WID_QS_DEFAULT,
36 WID_QS_CANCEL,
37 WID_QS_OK,
38};
39
41 enum QueryWidgets : WidgetID {
42 WID_Q_CAPTION,
43 WID_Q_TEXT,
44 WID_Q_NO,
45 WID_Q_YES,
46};
47
49 enum TextfileWidgets : WidgetID {
50 WID_TF_CAPTION,
51 WID_TF_NAVBACK,
52 WID_TF_NAVFORWARD,
53 WID_TF_WRAPTEXT,
54 WID_TF_JUMPLIST,
55 WID_TF_SEL_JUMPLIST,
56 WID_TF_BACKGROUND,
57 WID_TF_VSCROLLBAR,
58 WID_TF_HSCROLLBAR,
59};
60
61#endif /* WIDGETS_MISC_WIDGET_H */
ToolTipsWidgets
ToolTipsWidgets
Widgets of the TooltipsWindow class.
Definition misc_widget.h:20
WID_TT_BACKGROUND
@ WID_TT_BACKGROUND
Background of the window.
Definition misc_widget.h:21
QueryStringWidgets
QueryStringWidgets
Widgets of the QueryStringWindow class.
Definition misc_widget.h:32
WID_QS_DEFAULT
@ WID_QS_DEFAULT
Default button.
Definition misc_widget.h:35
WID_QS_CAPTION
@ WID_QS_CAPTION
Caption of the window.
Definition misc_widget.h:33
WID_QS_TEXT
@ WID_QS_TEXT
Text of the query.
Definition misc_widget.h:34
WID_QS_CANCEL
@ WID_QS_CANCEL
Cancel button.
Definition misc_widget.h:36
WID_QS_OK
@ WID_QS_OK
OK button.
Definition misc_widget.h:37
AboutWidgets
AboutWidgets
Widgets of the AboutWindow class.
Definition misc_widget.h:25
WID_A_WEBSITE
@ WID_A_WEBSITE
URL of OpenTTD website.
Definition misc_widget.h:27
WID_A_COPYRIGHT
@ WID_A_COPYRIGHT
Copyright string.
Definition misc_widget.h:28
WID_A_SCROLLING_TEXT
@ WID_A_SCROLLING_TEXT
The actually scrolling text.
Definition misc_widget.h:26
QueryWidgets
QueryWidgets
Widgets of the QueryWindow class.
Definition misc_widget.h:41
WID_Q_NO
@ WID_Q_NO
Yes button.
Definition misc_widget.h:44
WID_Q_YES
@ WID_Q_YES
No button.
Definition misc_widget.h:45
WID_Q_CAPTION
@ WID_Q_CAPTION
Caption of the window.
Definition misc_widget.h:42
WID_Q_TEXT
@ WID_Q_TEXT
Text of the query.
Definition misc_widget.h:43
TextfileWidgets
TextfileWidgets
Widgets of the TextfileWindow class.
Definition misc_widget.h:49
WID_TF_JUMPLIST
@ WID_TF_JUMPLIST
List to jump around the file.
Definition misc_widget.h:54
WID_TF_BACKGROUND
@ WID_TF_BACKGROUND
Panel to draw the textfile on.
Definition misc_widget.h:56
WID_TF_NAVBACK
@ WID_TF_NAVBACK
Navigate back button.
Definition misc_widget.h:51
WID_TF_WRAPTEXT
@ WID_TF_WRAPTEXT
Whether or not to wrap the text.
Definition misc_widget.h:53
WID_TF_NAVFORWARD
@ WID_TF_NAVFORWARD
Navigate forward button.
Definition misc_widget.h:52
WID_TF_CAPTION
@ WID_TF_CAPTION
The caption of the window.
Definition misc_widget.h:50
WID_TF_SEL_JUMPLIST
@ WID_TF_SEL_JUMPLIST
Selection to display the jump list or not.
Definition misc_widget.h:55
WID_TF_HSCROLLBAR
@ WID_TF_HSCROLLBAR
Horizontal scrollbar to scroll through the textfile left-to-right.
Definition misc_widget.h:58
WID_TF_VSCROLLBAR
@ WID_TF_VSCROLLBAR
Vertical scrollbar to scroll through the textfile up-and-down.
Definition misc_widget.h:57
LandInfoWidgets
LandInfoWidgets
Widgets of the LandInfoWindow class.
Definition misc_widget.h:14
WID_LI_BACKGROUND
@ WID_LI_BACKGROUND
Background of the window.
Definition misc_widget.h:16
WID_LI_LOCATION
@ WID_LI_LOCATION
Scroll to location.
Definition misc_widget.h:15
WidgetID
int WidgetID
Widget ID.
Definition window_type.h:18