# station_widget.h

Go to the documentation of this file.

    00001 /* $Id: station_widget.h 24127 2012-04-17 19:43:18Z michi_cc $ */
    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_STATION_WIDGET_H
    00013 #define WIDGETS_STATION_WIDGET_H
    00014
    00016 enum StationViewWidgets {
    00017   WID_SV_CAPTION,
    00018   WID_SV_WAITING,
    00019   WID_SV_SCROLLBAR,
    00020   WID_SV_ACCEPT_RATING_LIST,
    00021   WID_SV_LOCATION,
    00022   WID_SV_ACCEPTS_RATINGS,
    00023   WID_SV_RENAME,
    00024   WID_SV_CLOSE_AIRPORT,
    00025   WID_SV_TRAINS,
    00026   WID_SV_ROADVEHS,
    00027   WID_SV_SHIPS,
    00028   WID_SV_PLANES,
    00029 };
    00030
    00032 enum StationListWidgets {
    00033   /* Name starts with ST instead of S, because of collision with SaveLoadWidgets */
    00034   WID_STL_CAPTION,
    00035   WID_STL_LIST,
    00036   WID_STL_SCROLLBAR,
    00037
    00038   /* Vehicletypes need to be in order of StationFacility due to bit magic */
    00039   WID_STL_TRAIN,
    00040   WID_STL_TRUCK,
    00041   WID_STL_BUS,
    00042   WID_STL_AIRPLANE,
    00043   WID_STL_SHIP,
    00044   WID_STL_FACILALL,
    00045
    00046   WID_STL_NOCARGOWAITING,
    00047   WID_STL_CARGOALL,
    00048
    00049   WID_STL_SORTBY,
    00050   WID_STL_SORTDROPBTN,
    00051
    00052   WID_STL_CARGOSTART,
    00053 };
    00054
    00056 enum JoinStationWidgets {
    00057   WID_JS_CAPTION,   // Caption of the window.
    00058   WID_JS_PANEL,     // Main panel.
    00059   WID_JS_SCROLLBAR, // Scrollbar of the panel.
    00060 };
    00061
    00062 #endif /* WIDGETS_STATION_WIDGET_H */