Make it possible to stop road vehicles from slowing down in curves so "diagonal"...
[openttd-joker.git] / src / widgets / industry_widget.h
blobf41a040c286472ff461da1d0b90fc7ef2d97aaf7
1 /* $Id: industry_widget.h 24763 2012-11-25 15:24:02Z alberth $ */
3 /*
4 * This file is part of OpenTTD.
5 * 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.
6 * 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.
7 * 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/>.
8 */
10 /** @file industry_widget.h Types related to the industry widgets. */
12 #ifndef WIDGETS_INDUSTRY_WIDGET_H
13 #define WIDGETS_INDUSTRY_WIDGET_H
15 /** Widgets of the #BuildIndustryWindow class. */
16 enum DynamicPlaceIndustriesWidgets {
17 WID_DPI_MATRIX_WIDGET, ///< Matrix of the industries.
18 WID_DPI_SCROLLBAR, ///< Scrollbar of the matrix.
19 WID_DPI_INFOPANEL, ///< Info panel about the industry.
20 WID_DPI_DISPLAY_WIDGET, ///< Display chain button.
21 WID_DPI_FUND_WIDGET, ///< Fund button.
24 /** Widgets of the #IndustryViewWindow class. */
25 enum IndustryViewWidgets {
26 WID_IV_CAPTION, ///< Caption of the window.
27 WID_IV_VIEWPORT, ///< Viewport of the industry.
28 WID_IV_INFO, ///< Info of the industry.
29 WID_IV_GOTO, ///< Goto button.
30 WID_IV_DISPLAY, ///< Display chain button.
33 /** Widgets of the #IndustryDirectoryWindow class. */
34 enum IndustryDirectoryWidgets {
35 WID_ID_DROPDOWN_ORDER, ///< Dropdown for the order of the sort.
36 WID_ID_DROPDOWN_CRITERIA, ///< Dropdown for the criteria of the sort.
37 WID_ID_FILTER_BY_ACC_CARGO, ///< Accepted cargo filter dropdown list.
38 WID_ID_FILTER_BY_PROD_CARGO, ///< Produced cargo filter dropdown list.
39 WID_ID_INDUSTRY_LIST, ///< Industry list.
40 WID_ID_SCROLLBAR, ///< Scrollbar of the list.
43 /** Widgets of the #IndustryCargoesWindow class */
44 enum IndustryCargoesWidgets {
45 WID_IC_CAPTION, ///< Caption of the window.
46 WID_IC_NOTIFY, ///< Row of buttons at the bottom.
47 WID_IC_PANEL, ///< Panel that shows the chain.
48 WID_IC_SCROLLBAR, ///< Scrollbar of the panel.
49 WID_IC_CARGO_DROPDOWN, ///< Select cargo dropdown.
50 WID_IC_IND_DROPDOWN, ///< Select industry dropdown.
53 #endif /* WIDGETS_INDUSTRY_WIDGET_H */