OpenTTD Source  20240919-master-gdf0233f4c2
misc_widget.h File Reference

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_CANCEL,
  WID_QS_OK
}
 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

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

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

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_CANCEL 

Cancel button.

WID_QS_OK 

OK button.

Definition at line 32 of file misc_widget.h.

◆ QueryWidgets

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 41 of file misc_widget.h.

◆ TextfileWidgets

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 49 of file misc_widget.h.

◆ ToolTipsWidgets

Widgets of the TooltipsWindow class.

Enumerator
WID_TT_BACKGROUND 

Background of the window.

Definition at line 20 of file misc_widget.h.