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

OpenTTD Source 15.3

Enumerations
misc_widget.h File Reference

Types related to the misc widgets. More...

Go to the source code of this file.

## Enumerations
enum | LandInfoWidgets : WidgetID { WID_LI_LOCATION , WID_LI_BACKGROUND }
| Widgets of the LandInfoWindow class. More...
enum | ToolTipsWidgets : WidgetID { WID_TT_BACKGROUND }
| Widgets of the TooltipsWindow class. More...
enum | AboutWidgets : WidgetID { WID_A_SCROLLING_TEXT , WID_A_WEBSITE , WID_A_COPYRIGHT }
| Widgets of the AboutWindow class. More...
enum | QueryStringWidgets : WidgetID { WID_QS_CAPTION , WID_QS_TEXT , WID_QS_DEFAULT , WID_QS_DEFAULT_SEL , WID_QS_CANCEL , WID_QS_OK , WID_QS_MOVE , WID_QS_MOVE_SEL }
| Widgets of the QueryStringWindow class. More...
enum | QueryWidgets : WidgetID { WID_Q_CAPTION , WID_Q_TEXT , WID_Q_NO , WID_Q_YES }
| Widgets of the QueryWindow class. More...
enum | TextfileWidgets : WidgetID { WID_TF_CAPTION , WID_TF_NAVBACK , WID_TF_NAVFORWARD , WID_TF_WRAPTEXT , WID_TF_JUMPLIST , WID_TF_SEL_JUMPLIST , WID_TF_BACKGROUND , WID_TF_VSCROLLBAR , WID_TF_HSCROLLBAR }
| Widgets of the TextfileWindow class. More...

## Detailed Description

Types related to the misc widgets.

Definition in file misc_widget.h.

## Enumeration Type Documentation

## ◆ AboutWidgets

enum AboutWidgets : WidgetID

Widgets of the AboutWindow class.

Enumerator
WID_A_SCROLLING_TEXT | The actually scrolling text.
WID_A_WEBSITE | URL of OpenTTD website.
WID_A_COPYRIGHT | Copyright string.

Definition at line 25 of file misc_widget.h.

## ◆ LandInfoWidgets

enum LandInfoWidgets : WidgetID

Widgets of the LandInfoWindow class.

Enumerator
WID_LI_LOCATION | Scroll to location.
WID_LI_BACKGROUND | Background of the window.

Definition at line 14 of file misc_widget.h.

## ◆ QueryStringWidgets

enum QueryStringWidgets : WidgetID

Widgets of the QueryStringWindow class.

Enumerator
WID_QS_CAPTION | Caption of the window.
WID_QS_TEXT | Text of the query.
WID_QS_DEFAULT | Default button.
WID_QS_DEFAULT_SEL | Container for default button, which can be hidden.
WID_QS_CANCEL | Cancel button.
WID_QS_OK | OK button.
WID_QS_MOVE | Move button.
WID_QS_MOVE_SEL | Container for move button, which can be hidden.

Definition at line 32 of file misc_widget.h.

## ◆ QueryWidgets

enum QueryWidgets : WidgetID

Widgets of the QueryWindow class.

Enumerator
WID_Q_CAPTION | Caption of the window.
WID_Q_TEXT | Text of the query.
WID_Q_NO | Yes button.
WID_Q_YES | No button.

Definition at line 44 of file misc_widget.h.

## ◆ TextfileWidgets

enum TextfileWidgets : WidgetID

Widgets of the TextfileWindow class.

Enumerator
WID_TF_CAPTION | The caption of the window.
WID_TF_NAVBACK | Navigate back button.
WID_TF_NAVFORWARD | Navigate forward button.
WID_TF_WRAPTEXT | Whether or not to wrap the text.
WID_TF_JUMPLIST | List to jump around the file.
WID_TF_SEL_JUMPLIST | Selection to display the jump list or not.
WID_TF_BACKGROUND | Panel to draw the textfile on.
WID_TF_VSCROLLBAR | Vertical scrollbar to scroll through the textfile up-and-down.
WID_TF_HSCROLLBAR | Horizontal scrollbar to scroll through the textfile left-to-right.

Definition at line 52 of file misc_widget.h.

## ◆ ToolTipsWidgets

enum ToolTipsWidgets : WidgetID

Widgets of the TooltipsWindow class.

Enumerator
WID_TT_BACKGROUND | Background of the window.

Definition at line 20 of file misc_widget.h.