(svn r28004) -Update from Eints:
[openttd.git] / src / widgets / industry_widget.h
blob711694db7234204a2fb47621f0352fca9e6c3ad8
1 /* $Id$ */
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_INDUSTRY_LIST, ///< Industry list.
38 WID_ID_SCROLLBAR, ///< Scrollbar of the list.
41 /** Widgets of the #IndustryCargoesWindow class */
42 enum IndustryCargoesWidgets {
43 WID_IC_CAPTION, ///< Caption of the window.
44 WID_IC_NOTIFY, ///< Row of buttons at the bottom.
45 WID_IC_PANEL, ///< Panel that shows the chain.
46 WID_IC_SCROLLBAR, ///< Scrollbar of the panel.
47 WID_IC_CARGO_DROPDOWN, ///< Select cargo dropdown.
48 WID_IC_IND_DROPDOWN, ///< Select industry dropdown.
51 #endif /* WIDGETS_INDUSTRY_WIDGET_H */