1 /* $Id: dock_widget.h 23600 2011-12-19 20:46:17Z truebrain $ */
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/>.
10 /** @file dock_widget.h Types related to the dock widgets. */
12 #ifndef WIDGETS_DOCK_WIDGET_H
13 #define WIDGETS_DOCK_WIDGET_H
15 /** Widgets of the #BuildDocksDepotWindow class. */
16 enum BuildDockDepotWidgets
{
17 WID_BDD_BACKGROUND
, ///< Background of the window.
18 WID_BDD_X
, ///< X-direction button.
19 WID_BDD_Y
, ///< Y-direction button.
22 /** Widgets of the #BuildDocksToolbarWindow class. */
23 enum DockToolbarWidgets
{
24 WID_DT_CANAL
, ///< Build canal button.
25 WID_DT_LOCK
, ///< Build lock button.
26 WID_DT_DEMOLISH
, ///< Demolish aka dynamite button.
27 WID_DT_DEPOT
, ///< Build depot button.
28 WID_DT_STATION
, ///< Build station button.
29 WID_DT_BUOY
, ///< Build buoy button.
30 WID_DT_RIVER
, ///< Build river button (in scenario editor).
31 WID_DT_BUILD_AQUEDUCT
, ///< Build aqueduct button.
33 WID_DT_INVALID
, ///< Used to initialize a variable.
36 #endif /* WIDGETS_DOCK_WIDGET_H */