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

OpenTTD Source 15.3

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 <https://www.gnu.org/licenses/old-licenses/gpl-2.0>.
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 BuildDocksStationWidgets : WidgetID {
22 WID_BDSW_BACKGROUND,
23 WID_BDSW_LT_OFF,
24 WID_BDSW_LT_ON,
25 WID_BDSW_INFO,
26 WID_BDSW_ACCEPTANCE,
27};
28
30 enum DockToolbarWidgets : WidgetID {
31 WID_DT_CANAL,
32 WID_DT_LOCK,
33 WID_DT_DEMOLISH,
34 WID_DT_DEPOT,
35 WID_DT_STATION,
36 WID_DT_BUOY,
37 WID_DT_RIVER,
38 WID_DT_BUILD_AQUEDUCT,
39};
40
41#endif /* WIDGETS_DOCK_WIDGET_H */
DockToolbarWidgets
DockToolbarWidgets
Widgets of the BuildDocksToolbarWindow class.
Definition dock_widget.h:30
WID_DT_CANAL
@ WID_DT_CANAL
Build canal button.
Definition dock_widget.h:31
WID_DT_DEMOLISH
@ WID_DT_DEMOLISH
Demolish aka dynamite button.
Definition dock_widget.h:33
WID_DT_STATION
@ WID_DT_STATION
Build station button.
Definition dock_widget.h:35
WID_DT_RIVER
@ WID_DT_RIVER
Build river button (in scenario editor).
Definition dock_widget.h:37
WID_DT_LOCK
@ WID_DT_LOCK
Build lock button.
Definition dock_widget.h:32
WID_DT_DEPOT
@ WID_DT_DEPOT
Build depot button.
Definition dock_widget.h:34
WID_DT_BUOY
@ WID_DT_BUOY
Build buoy button.
Definition dock_widget.h:36
WID_DT_BUILD_AQUEDUCT
@ WID_DT_BUILD_AQUEDUCT
Build aqueduct button.
Definition dock_widget.h:38
BuildDockDepotWidgets
BuildDockDepotWidgets
Widgets of the BuildDocksDepotWindow class.
Definition dock_widget.h:14
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
WID_BDD_BACKGROUND
@ WID_BDD_BACKGROUND
Background of the window.
Definition dock_widget.h:15
BuildDocksStationWidgets
BuildDocksStationWidgets
Widgets of the BuildDocksStationWindow window.
Definition dock_widget.h:21
WID_BDSW_ACCEPTANCE
@ WID_BDSW_ACCEPTANCE
Acceptance info.
Definition dock_widget.h:26
WID_BDSW_LT_OFF
@ WID_BDSW_LT_OFF
'Off' button of coverage high light.
Definition dock_widget.h:23
WID_BDSW_INFO
@ WID_BDSW_INFO
'Coverage highlight' label.
Definition dock_widget.h:25
WID_BDSW_BACKGROUND
@ WID_BDSW_BACKGROUND
Background panel.
Definition dock_widget.h:22
WID_BDSW_LT_ON
@ WID_BDSW_LT_ON
'On' button of coverage high light.
Definition dock_widget.h:24
WidgetID
int WidgetID
Widget ID.
Definition window_type.h:20