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

OpenTTD Source 12.0-beta1

industry_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_INDUSTRY_WIDGET_H
11 #define WIDGETS_INDUSTRY_WIDGET_H
12
14 enum DynamicPlaceIndustriesWidgets {
15 WID_DPI_SCENARIO_EDITOR_PANE,
16 WID_DPI_REMOVE_ALL_INDUSTRIES_WIDGET,
17 WID_DPI_CREATE_RANDOM_INDUSTRIES_WIDGET,
18 WID_DPI_MATRIX_WIDGET,
19 WID_DPI_SCROLLBAR,
20 WID_DPI_INFOPANEL,
21 WID_DPI_DISPLAY_WIDGET,
22 WID_DPI_FUND_WIDGET,
23 };
24
26 enum IndustryViewWidgets {
27 WID_IV_CAPTION,
28 WID_IV_VIEWPORT,
29 WID_IV_INFO,
30 WID_IV_GOTO,
31 WID_IV_DISPLAY,
32 };
33
35 enum IndustryDirectoryWidgets {
36 WID_ID_DROPDOWN_ORDER,
37 WID_ID_DROPDOWN_CRITERIA,
38 WID_ID_FILTER_BY_ACC_CARGO,
39 WID_ID_FILTER_BY_PROD_CARGO,
40 WID_ID_INDUSTRY_LIST,
41 WID_ID_SCROLLBAR,
42 };
43
45 enum IndustryCargoesWidgets {
46 WID_IC_CAPTION,
47 WID_IC_NOTIFY,
48 WID_IC_PANEL,
49 WID_IC_SCROLLBAR,
50 WID_IC_CARGO_DROPDOWN,
51 WID_IC_IND_DROPDOWN,
52 };
53
54 #endif /* WIDGETS_INDUSTRY_WIDGET_H */
WID_DPI_DISPLAY_WIDGET
@ WID_DPI_DISPLAY_WIDGET
Display chain button.
Definition: industry_widget.h:21
WID_IC_NOTIFY
@ WID_IC_NOTIFY
Row of buttons at the bottom.
Definition: industry_widget.h:47
WID_IV_GOTO
@ WID_IV_GOTO
Goto button.
Definition: industry_widget.h:30
WID_DPI_MATRIX_WIDGET
@ WID_DPI_MATRIX_WIDGET
Matrix of the industries.
Definition: industry_widget.h:18
IndustryViewWidgets
IndustryViewWidgets
Widgets of the IndustryViewWindow class.
Definition: industry_widget.h:26
WID_ID_FILTER_BY_PROD_CARGO
@ WID_ID_FILTER_BY_PROD_CARGO
Produced cargo filter dropdown list.
Definition: industry_widget.h:39
WID_IV_CAPTION
@ WID_IV_CAPTION
Caption of the window.
Definition: industry_widget.h:27
IndustryCargoesWidgets
IndustryCargoesWidgets
Widgets of the IndustryCargoesWindow class.
Definition: industry_widget.h:45
WID_DPI_INFOPANEL
@ WID_DPI_INFOPANEL
Info panel about the industry.
Definition: industry_widget.h:20
WID_DPI_CREATE_RANDOM_INDUSTRIES_WIDGET
@ WID_DPI_CREATE_RANDOM_INDUSTRIES_WIDGET
Create random industries button.
Definition: industry_widget.h:17
WID_IC_SCROLLBAR
@ WID_IC_SCROLLBAR
Scrollbar of the panel.
Definition: industry_widget.h:49
WID_DPI_REMOVE_ALL_INDUSTRIES_WIDGET
@ WID_DPI_REMOVE_ALL_INDUSTRIES_WIDGET
Remove all industries button.
Definition: industry_widget.h:16
WID_IC_CAPTION
@ WID_IC_CAPTION
Caption of the window.
Definition: industry_widget.h:46
IndustryDirectoryWidgets
IndustryDirectoryWidgets
Widgets of the IndustryDirectoryWindow class.
Definition: industry_widget.h:35
WID_IC_IND_DROPDOWN
@ WID_IC_IND_DROPDOWN
Select industry dropdown.
Definition: industry_widget.h:51
WID_IC_CARGO_DROPDOWN
@ WID_IC_CARGO_DROPDOWN
Select cargo dropdown.
Definition: industry_widget.h:50
WID_IC_PANEL
@ WID_IC_PANEL
Panel that shows the chain.
Definition: industry_widget.h:48
WID_ID_INDUSTRY_LIST
@ WID_ID_INDUSTRY_LIST
Industry list.
Definition: industry_widget.h:40
WID_DPI_FUND_WIDGET
@ WID_DPI_FUND_WIDGET
Fund button.
Definition: industry_widget.h:22
WID_DPI_SCROLLBAR
@ WID_DPI_SCROLLBAR
Scrollbar of the matrix.
Definition: industry_widget.h:19
WID_DPI_SCENARIO_EDITOR_PANE
@ WID_DPI_SCENARIO_EDITOR_PANE
Pane containing SE-only widgets.
Definition: industry_widget.h:15
WID_ID_DROPDOWN_ORDER
@ WID_ID_DROPDOWN_ORDER
Dropdown for the order of the sort.
Definition: industry_widget.h:36
WID_ID_FILTER_BY_ACC_CARGO
@ WID_ID_FILTER_BY_ACC_CARGO
Accepted cargo filter dropdown list.
Definition: industry_widget.h:38
WID_IV_INFO
@ WID_IV_INFO
Info of the industry.
Definition: industry_widget.h:29
DynamicPlaceIndustriesWidgets
DynamicPlaceIndustriesWidgets
Widgets of the BuildIndustryWindow class.
Definition: industry_widget.h:14
WID_ID_DROPDOWN_CRITERIA
@ WID_ID_DROPDOWN_CRITERIA
Dropdown for the criteria of the sort.
Definition: industry_widget.h:37
WID_IV_VIEWPORT
@ WID_IV_VIEWPORT
Viewport of the industry.
Definition: industry_widget.h:28
WID_ID_SCROLLBAR
@ WID_ID_SCROLLBAR
Scrollbar of the list.
Definition: industry_widget.h:41
WID_IV_DISPLAY
@ WID_IV_DISPLAY
Display chain button.
Definition: industry_widget.h:31