OpenTTD Source 20250924-master-gbec4e71d53
dock_widget.h File Reference

Types related to the dock widgets. More...

Go to the source code of this file.

Enumerations

enum  BuildDockDepotWidgets : WidgetID { WID_BDD_BACKGROUND , WID_BDD_X , WID_BDD_Y }
 Widgets of the BuildDocksDepotWindow class. More...
 
enum  BuildDocksStationWidgets : WidgetID {
  WID_BDSW_BACKGROUND , WID_BDSW_LT_OFF , WID_BDSW_LT_ON , WID_BDSW_INFO ,
  WID_BDSW_ACCEPTANCE
}
 Widgets of the BuildDocksStationWindow window. More...
 
enum  DockToolbarWidgets : WidgetID {
  WID_DT_CANAL , WID_DT_LOCK , WID_DT_DEMOLISH , WID_DT_DEPOT ,
  WID_DT_STATION , WID_DT_BUOY , WID_DT_RIVER , WID_DT_BUILD_AQUEDUCT
}
 Widgets of the BuildDocksToolbarWindow class. More...
 

Detailed Description

Types related to the dock widgets.

Definition in file dock_widget.h.

Enumeration Type Documentation

◆ BuildDockDepotWidgets

Widgets of the BuildDocksDepotWindow class.

Enumerator
WID_BDD_BACKGROUND 

Background of the window.

WID_BDD_X 

X-direction button.

WID_BDD_Y 

Y-direction button.

Definition at line 14 of file dock_widget.h.

◆ BuildDocksStationWidgets

Widgets of the BuildDocksStationWindow window.

Enumerator
WID_BDSW_BACKGROUND 

Background panel.

WID_BDSW_LT_OFF 

'Off' button of coverage high light.

WID_BDSW_LT_ON 

'On' button of coverage high light.

WID_BDSW_INFO 

'Coverage highlight' label.

WID_BDSW_ACCEPTANCE 

Acceptance info.

Definition at line 21 of file dock_widget.h.

◆ DockToolbarWidgets

Widgets of the BuildDocksToolbarWindow class.

Enumerator
WID_DT_CANAL 

Build canal button.

WID_DT_LOCK 

Build lock button.

WID_DT_DEMOLISH 

Demolish aka dynamite button.

WID_DT_DEPOT 

Build depot button.

WID_DT_STATION 

Build station button.

WID_DT_BUOY 

Build buoy button.

WID_DT_RIVER 

Build river button (in scenario editor).

WID_DT_BUILD_AQUEDUCT 

Build aqueduct button.

Definition at line 30 of file dock_widget.h.