OpenTTD Source: src/widgets/dock_widget.h Source File

OpenTTD Source 14.0-beta3

dock_widget.h
Go to the documentation of this file.
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 */
7
10 #ifndef WIDGETS_DOCK_WIDGET_H
11 #define WIDGETS_DOCK_WIDGET_H
12
14 enum BuildDockDepotWidgets : WidgetID {
15 WID_BDD_BACKGROUND,
16 WID_BDD_X,
17 WID_BDD_Y,
18 };
19
21 enum DockToolbarWidgets : WidgetID {
22 WID_DT_CANAL,
23 WID_DT_LOCK,
24 WID_DT_DEMOLISH,
25 WID_DT_DEPOT,
26 WID_DT_STATION,
27 WID_DT_BUOY,
28 WID_DT_RIVER,
29 WID_DT_BUILD_AQUEDUCT,
30
31 WID_DT_INVALID,
32 };
33
34 #endif /* WIDGETS_DOCK_WIDGET_H */
WID_DT_DEMOLISH
@ WID_DT_DEMOLISH
Demolish aka dynamite button.
Definition: dock_widget.h:24
WID_DT_BUOY
@ WID_DT_BUOY
Build buoy button.
Definition: dock_widget.h:27
WidgetID
int WidgetID
Widget ID.
Definition: window_type.h:18
WID_DT_STATION
@ WID_DT_STATION
Build station button.
Definition: dock_widget.h:26
WID_DT_RIVER
@ WID_DT_RIVER
Build river button (in scenario editor).
Definition: dock_widget.h:28
WID_DT_LOCK
@ WID_DT_LOCK
Build lock button.
Definition: dock_widget.h:23
WID_BDD_X
@ WID_BDD_X
X-direction button.
Definition: dock_widget.h:16
WID_BDD_Y
@ WID_BDD_Y
Y-direction button.
Definition: dock_widget.h:17
DockToolbarWidgets
DockToolbarWidgets
Widgets of the BuildDocksToolbarWindow class.
Definition: dock_widget.h:21
WID_BDD_BACKGROUND
@ WID_BDD_BACKGROUND
Background of the window.
Definition: dock_widget.h:15
WID_DT_BUILD_AQUEDUCT
@ WID_DT_BUILD_AQUEDUCT
Build aqueduct button.
Definition: dock_widget.h:29
WID_DT_CANAL
@ WID_DT_CANAL
Build canal button.
Definition: dock_widget.h:22
BuildDockDepotWidgets
BuildDockDepotWidgets
Widgets of the BuildDocksDepotWindow class.
Definition: dock_widget.h:14
WID_DT_DEPOT
@ WID_DT_DEPOT
Build depot button.
Definition: dock_widget.h:25
WID_DT_INVALID
@ WID_DT_INVALID
Used to initialize a variable.
Definition: dock_widget.h:31