# vehicle_widget.h

Go to the documentation of this file.

    00001 /* $Id$ */
    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_VEHICLE_WIDGET_H
    00013 #define WIDGETS_VEHICLE_WIDGET_H
    00014
    00016 enum VehicleViewWidgets {
    00017   WID_VV_CAPTION,
    00018   WID_VV_VIEWPORT,
    00019   WID_VV_START_STOP,
    00020   WID_VV_CENTER_MAIN_VIEW,
    00021   WID_VV_GOTO_DEPOT,
    00022   WID_VV_REFIT,
    00023   WID_VV_SHOW_ORDERS,
    00024   WID_VV_SHOW_DETAILS,
    00025   WID_VV_CLONE,
    00026   WID_VV_SELECT_DEPOT_CLONE,
    00027   WID_VV_SELECT_REFIT_TURN,
    00028   WID_VV_TURN_AROUND,
    00029   WID_VV_FORCE_PROCEED,
    00030 };
    00031
    00033 enum VehicleRefitWidgets {
    00034   WID_VR_CAPTION,
    00035   WID_VR_VEHICLE_PANEL_DISPLAY,
    00036   WID_VR_SHOW_HSCROLLBAR,
    00037   WID_VR_HSCROLLBAR,
    00038   WID_VR_SELECT_HEADER,
    00039   WID_VR_MATRIX,
    00040   WID_VR_SCROLLBAR,
    00041   WID_VR_INFO,
    00042   WID_VR_REFIT,
    00043 };
    00044
    00046 enum VehicleDetailsWidgets {
    00047   WID_VD_CAPTION,
    00048   WID_VD_RENAME_VEHICLE,
    00049   WID_VD_TOP_DETAILS,
    00050   WID_VD_INCREASE_SERVICING_INTERVAL,
    00051   WID_VD_DECREASE_SERVICING_INTERVAL,
    00052   WID_VD_SERVICING_INTERVAL,
    00053   WID_VD_MIDDLE_DETAILS,
    00054   WID_VD_MATRIX,
    00055   WID_VD_SCROLLBAR,
    00056   WID_VD_DETAILS_CARGO_CARRIED,
    00057   WID_VD_DETAILS_TRAIN_VEHICLES,
    00058   WID_VD_DETAILS_CAPACITY_OF_EACH,
    00059   WID_VD_DETAILS_TOTAL_CARGO,
    00060 };
    00061
    00063 enum VehicleListWidgets {
    00064   WID_VL_CAPTION,
    00065   WID_VL_SORT_ORDER,
    00066   WID_VL_SORT_BY_PULLDOWN,
    00067   WID_VL_LIST,
    00068   WID_VL_SCROLLBAR,
    00069   WID_VL_HIDE_BUTTONS,
    00070   WID_VL_AVAILABLE_VEHICLES,
    00071   WID_VL_MANAGE_VEHICLES_DROPDOWN,
    00072   WID_VL_STOP_ALL,
    00073   WID_VL_START_ALL,
    00074 };
    00075
    00076 #endif /* WIDGETS_VEHICLE_WIDGET_H */