2 * This file is part of OpenTTD.
3 * 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.
4 * 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.
5 * 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 /** @file depot_widget.h Types related to the depot widgets. */
10 #ifndef WIDGETS_DEPOT_WIDGET_H
11 #define WIDGETS_DEPOT_WIDGET_H
13 /** Widgets of the #DepotWindow class. */
14 enum DepotWidgets
: WidgetID
{
15 WID_D_CAPTION
, ///< Caption of window.
16 WID_D_SELL
, ///< Sell button.
17 WID_D_SHOW_SELL_CHAIN
, ///< Show sell chain panel.
18 WID_D_SELL_CHAIN
, ///< Sell chain button.
19 WID_D_SELL_ALL
, ///< Sell all button.
20 WID_D_AUTOREPLACE
, ///< Autoreplace button.
21 WID_D_MATRIX
, ///< Matrix of vehicles.
22 WID_D_V_SCROLL
, ///< Vertical scrollbar.
23 WID_D_SHOW_H_SCROLL
, ///< Show horizontal scrollbar panel.
24 WID_D_H_SCROLL
, ///< Horizontal scrollbar.
25 WID_D_BUILD
, ///< Build button.
26 WID_D_CLONE
, ///< Clone button.
27 WID_D_LOCATION
, ///< Location button.
28 WID_D_SHOW_RENAME
, ///< Show rename panel.
29 WID_D_RENAME
, ///< Rename button.
30 WID_D_VEHICLE_LIST
, ///< List of vehicles.
31 WID_D_STOP_ALL
, ///< Stop all button.
32 WID_D_START_ALL
, ///< Start all button.
35 #endif /* WIDGETS_DEPOT_WIDGET_H */