OpenTTD Source  20241108-master-g80f628063a
industry_widget.h File Reference

Types related to the industry widgets. More...

Go to the source code of this file.

Enumerations

enum  DynamicPlaceIndustriesWidgets : WidgetID {
  WID_DPI_SCENARIO_EDITOR_PANE , WID_DPI_REMOVE_ALL_INDUSTRIES_WIDGET , WID_DPI_CREATE_RANDOM_INDUSTRIES_WIDGET , WID_DPI_MATRIX_WIDGET ,
  WID_DPI_SCROLLBAR , WID_DPI_INFOPANEL , WID_DPI_DISPLAY_WIDGET , WID_DPI_FUND_WIDGET
}
 Widgets of the BuildIndustryWindow class. More...
 
enum  IndustryViewWidgets : WidgetID {
  WID_IV_CAPTION , WID_IV_VIEWPORT , WID_IV_INFO , WID_IV_GOTO ,
  WID_IV_DISPLAY , WID_IV_GRAPH
}
 Widgets of the IndustryViewWindow class. More...
 
enum  IndustryDirectoryWidgets : WidgetID {
  WID_ID_CAPTION , WID_ID_DROPDOWN_ORDER , WID_ID_DROPDOWN_CRITERIA , WID_ID_FILTER_BY_ACC_CARGO ,
  WID_ID_FILTER_BY_PROD_CARGO , WID_ID_FILTER , WID_ID_INDUSTRY_LIST , WID_ID_HSCROLLBAR ,
  WID_ID_VSCROLLBAR
}
 Widgets of the IndustryDirectoryWindow class. More...
 
enum  IndustryCargoesWidgets : WidgetID {
  WID_IC_CAPTION , WID_IC_NOTIFY , WID_IC_PANEL , WID_IC_SCROLLBAR ,
  WID_IC_CARGO_DROPDOWN , WID_IC_IND_DROPDOWN
}
 Widgets of the IndustryCargoesWindow class. More...
 

Detailed Description

Types related to the industry widgets.

Definition in file industry_widget.h.

Enumeration Type Documentation

◆ DynamicPlaceIndustriesWidgets

Widgets of the BuildIndustryWindow class.

Enumerator
WID_DPI_SCENARIO_EDITOR_PANE 

Pane containing SE-only widgets.

WID_DPI_REMOVE_ALL_INDUSTRIES_WIDGET 

Remove all industries button.

WID_DPI_CREATE_RANDOM_INDUSTRIES_WIDGET 

Create random industries button.

WID_DPI_MATRIX_WIDGET 

Matrix of the industries.

WID_DPI_SCROLLBAR 

Scrollbar of the matrix.

WID_DPI_INFOPANEL 

Info panel about the industry.

WID_DPI_DISPLAY_WIDGET 

Display chain button.

WID_DPI_FUND_WIDGET 

Fund button.

Definition at line 14 of file industry_widget.h.

◆ IndustryCargoesWidgets

Widgets of the IndustryCargoesWindow class.

Enumerator
WID_IC_CAPTION 

Caption of the window.

WID_IC_NOTIFY 

Row of buttons at the bottom.

WID_IC_PANEL 

Panel that shows the chain.

WID_IC_SCROLLBAR 

Scrollbar of the panel.

WID_IC_CARGO_DROPDOWN 

Select cargo dropdown.

WID_IC_IND_DROPDOWN 

Select industry dropdown.

Definition at line 49 of file industry_widget.h.

◆ IndustryDirectoryWidgets

Widgets of the IndustryDirectoryWindow class.

Enumerator
WID_ID_CAPTION 

Caption of the window.

WID_ID_DROPDOWN_ORDER 

Dropdown for the order of the sort.

WID_ID_DROPDOWN_CRITERIA 

Dropdown for the criteria of the sort.

WID_ID_FILTER_BY_ACC_CARGO 

Accepted cargo filter dropdown list.

WID_ID_FILTER_BY_PROD_CARGO 

Produced cargo filter dropdown list.

WID_ID_FILTER 

Textbox to filter industry name.

WID_ID_INDUSTRY_LIST 

Industry list.

WID_ID_HSCROLLBAR 

Horizontal scrollbar of the list.

WID_ID_VSCROLLBAR 

Vertical scrollbar of the list.

Definition at line 36 of file industry_widget.h.

◆ IndustryViewWidgets

Widgets of the IndustryViewWindow class.

Enumerator
WID_IV_CAPTION 

Caption of the window.

WID_IV_VIEWPORT 

Viewport of the industry.

WID_IV_INFO 

Info of the industry.

WID_IV_GOTO 

Goto button.

WID_IV_DISPLAY 

Display chain button.

WID_IV_GRAPH 

Production history button.

Definition at line 26 of file industry_widget.h.