Feature: Import town data from JSON file (#10409)
[openttd-github.git] / src / widgets / dock_widget.h
blob0a1f480eb618737a287b057ecf0af59afc1e2a1f
1 /*
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/>.
6 */
8 /** @file dock_widget.h Types related to the dock widgets. */
10 #ifndef WIDGETS_DOCK_WIDGET_H
11 #define WIDGETS_DOCK_WIDGET_H
13 /** Widgets of the #BuildDocksDepotWindow class. */
14 enum BuildDockDepotWidgets : WidgetID {
15 WID_BDD_BACKGROUND, ///< Background of the window.
16 WID_BDD_X, ///< X-direction button.
17 WID_BDD_Y, ///< Y-direction button.
20 /** Widgets of the #BuildDocksToolbarWindow class. */
21 enum DockToolbarWidgets : WidgetID {
22 WID_DT_CANAL, ///< Build canal button.
23 WID_DT_LOCK, ///< Build lock button.
24 WID_DT_DEMOLISH, ///< Demolish aka dynamite button.
25 WID_DT_DEPOT, ///< Build depot button.
26 WID_DT_STATION, ///< Build station button.
27 WID_DT_BUOY, ///< Build buoy button.
28 WID_DT_RIVER, ///< Build river button (in scenario editor).
29 WID_DT_BUILD_AQUEDUCT, ///< Build aqueduct button.
31 WID_DT_INVALID, ///< Used to initialize a variable.
34 #endif /* WIDGETS_DOCK_WIDGET_H */