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 26811 2014-09-11 17:10:38Z alberth $ */
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_TOGGLE,
39 WID_RV_TRAIN_FLUFF_LEFT,
40 WID_RV_TRAIN_RAILTYPE_DROPDOWN,
41 WID_RV_TRAIN_FLUFF_RIGHT,
42 WID_RV_TRAIN_WAGONREMOVE_TOGGLE,
43 };
44
45 #endif /* WIDGETS_AUTOREPLACE_WIDGET_H */