OpenTTD: src/widgets/autoreplace_widget.h Source File

OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

autoreplace_widget.h
Go to the documentation of this file.
1 /* $Id: autoreplace_widget.h 27683 2016-12-08 20:21:39Z frosch $ */
2
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 */
9
12 #ifndef WIDGETS_AUTOREPLACE_WIDGET_H
13 #define WIDGETS_AUTOREPLACE_WIDGET_H
14
16 enum ReplaceVehicleWidgets {
17 WID_RV_CAPTION,
18
19 /* Sort dropdown at the right. */
20 WID_RV_SORT_ASCENDING_DESCENDING,
21 WID_RV_SHOW_HIDDEN_ENGINES,
22 WID_RV_SORT_DROPDOWN,
23
24 /* Left and right matrix + details. */
25 WID_RV_LEFT_MATRIX,
26 WID_RV_LEFT_SCROLLBAR,
27 WID_RV_RIGHT_MATRIX,
28 WID_RV_RIGHT_SCROLLBAR,
29 WID_RV_LEFT_DETAILS,
30 WID_RV_RIGHT_DETAILS,
31
32 /* Button row. */
33 WID_RV_START_REPLACE,
34 WID_RV_INFO_TAB,
35 WID_RV_STOP_REPLACE,
36
37 /* Train only widgets. */
38 WID_RV_TRAIN_ENGINEWAGON_DROPDOWN,
39 WID_RV_TRAIN_RAILTYPE_DROPDOWN,
40 WID_RV_TRAIN_WAGONREMOVE_TOGGLE,
41 };
42
43 #endif /* WIDGETS_AUTOREPLACE_WIDGET_H */