00001 /* $Id: autoreplace_widget.h 23600 2011-12-19 20:46:17Z truebrain $ */ 00002 00003 /* 00004 * This file is part of OpenTTD. 00005 * 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. 00006 * 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. 00007 * 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/>. 00008 */ 00009 00012 #ifndef WIDGETS_AUTOREPLACE_WIDGET_H 00013 #define WIDGETS_AUTOREPLACE_WIDGET_H 00014 00016 enum ReplaceVehicleWidgets { 00017 WID_RV_CAPTION, 00018 00019 /* Left and right matrix + details. */ 00020 WID_RV_LEFT_MATRIX, 00021 WID_RV_LEFT_SCROLLBAR, 00022 WID_RV_RIGHT_MATRIX, 00023 WID_RV_RIGHT_SCROLLBAR, 00024 WID_RV_LEFT_DETAILS, 00025 WID_RV_RIGHT_DETAILS, 00026 00027 /* Button row. */ 00028 WID_RV_START_REPLACE, 00029 WID_RV_INFO_TAB, 00030 WID_RV_STOP_REPLACE, 00031 00032 /* Train only widgets. */ 00033 WID_RV_TRAIN_ENGINEWAGON_TOGGLE, 00034 WID_RV_TRAIN_FLUFF_LEFT, 00035 WID_RV_TRAIN_RAILTYPE_DROPDOWN, 00036 WID_RV_TRAIN_FLUFF_RIGHT, 00037 WID_RV_TRAIN_WAGONREMOVE_TOGGLE, 00038 }; 00039 00040 #endif /* WIDGETS_AUTOREPLACE_WIDGET_H */