mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-23 20:24:12 +01:00
Codechange: Use EnumBitSet for WindowDefaultFlags.
This commit is contained in:
committed by
Peter Nelson
parent
efb05396a7
commit
d30e8dd1c1
@@ -802,7 +802,7 @@ static constexpr NWidgetPart _nested_company_stations_widgets[] = {
|
||||
static WindowDesc _company_stations_desc(
|
||||
WDP_AUTO, "list_stations", 358, 162,
|
||||
WC_STATION_LIST, WC_NONE,
|
||||
0,
|
||||
{},
|
||||
_nested_company_stations_widgets
|
||||
);
|
||||
|
||||
@@ -2175,7 +2175,7 @@ struct StationViewWindow : public Window {
|
||||
static WindowDesc _station_view_desc(
|
||||
WDP_AUTO, "view_station", 249, 117,
|
||||
WC_STATION_VIEW, WC_NONE,
|
||||
0,
|
||||
{},
|
||||
_nested_station_view_widgets
|
||||
);
|
||||
|
||||
@@ -2433,7 +2433,7 @@ struct SelectStationWindow : Window {
|
||||
static WindowDesc _select_station_desc(
|
||||
WDP_AUTO, "build_station_join", 200, 180,
|
||||
WC_SELECT_STATION, WC_NONE,
|
||||
WDF_CONSTRUCTION,
|
||||
WindowDefaultFlag::Construction,
|
||||
_nested_select_station_widgets
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user