mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-27 14:14:27 +01:00
Codechange: Use EnumBitSet for WindowDefaultFlags.
This commit is contained in:
committed by
Peter Nelson
parent
efb05396a7
commit
d30e8dd1c1
@@ -1003,14 +1003,14 @@ struct GenerateLandscapeWindow : public Window {
|
||||
static WindowDesc _generate_landscape_desc(
|
||||
WDP_CENTER, nullptr, 0, 0,
|
||||
WC_GENERATE_LANDSCAPE, WC_NONE,
|
||||
0,
|
||||
{},
|
||||
_nested_generate_landscape_widgets
|
||||
);
|
||||
|
||||
static WindowDesc _heightmap_load_desc(
|
||||
WDP_CENTER, nullptr, 0, 0,
|
||||
WC_GENERATE_LANDSCAPE, WC_NONE,
|
||||
0,
|
||||
{},
|
||||
_nested_heightmap_load_widgets
|
||||
);
|
||||
|
||||
@@ -1313,7 +1313,7 @@ static constexpr NWidgetPart _nested_create_scenario_widgets[] = {
|
||||
static WindowDesc _create_scenario_desc(
|
||||
WDP_CENTER, nullptr, 0, 0,
|
||||
WC_GENERATE_LANDSCAPE, WC_NONE,
|
||||
0,
|
||||
{},
|
||||
_nested_create_scenario_widgets
|
||||
);
|
||||
|
||||
@@ -1339,7 +1339,7 @@ static constexpr NWidgetPart _nested_generate_progress_widgets[] = {
|
||||
static WindowDesc _generate_progress_desc(
|
||||
WDP_CENTER, nullptr, 0, 0,
|
||||
WC_MODAL_PROGRESS, WC_NONE,
|
||||
WDF_NO_CLOSE,
|
||||
WindowDefaultFlag::NoClose,
|
||||
_nested_generate_progress_widgets
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user