mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-26 13:44:16 +01:00
Codechange: Use EnumBitSet for WindowDefaultFlags.
This commit is contained in:
committed by
Peter Nelson
parent
efb05396a7
commit
d30e8dd1c1
@@ -541,7 +541,7 @@ static constexpr NWidgetPart _nested_newgrf_parameter_widgets[] = {
|
||||
static WindowDesc _newgrf_parameters_desc(
|
||||
WDP_CENTER, "settings_newgrf_config", 500, 208,
|
||||
WC_GRF_PARAMETERS, WC_NONE,
|
||||
0,
|
||||
{},
|
||||
_nested_newgrf_parameter_widgets
|
||||
);
|
||||
|
||||
@@ -1965,7 +1965,7 @@ static constexpr NWidgetPart _nested_newgrf_widgets[] = {
|
||||
static WindowDesc _newgrf_desc(
|
||||
WDP_CENTER, "settings_newgrf", 300, 263,
|
||||
WC_GAME_OPTIONS, WC_NONE,
|
||||
0,
|
||||
{},
|
||||
_nested_newgrf_widgets
|
||||
);
|
||||
|
||||
@@ -2049,7 +2049,7 @@ static constexpr NWidgetPart _nested_save_preset_widgets[] = {
|
||||
static WindowDesc _save_preset_desc(
|
||||
WDP_CENTER, "save_preset", 140, 110,
|
||||
WC_SAVE_PRESET, WC_GAME_OPTIONS,
|
||||
WDF_MODAL,
|
||||
WindowDefaultFlag::Modal,
|
||||
_nested_save_preset_widgets
|
||||
);
|
||||
|
||||
@@ -2194,7 +2194,7 @@ static constexpr NWidgetPart _nested_scan_progress_widgets[] = {
|
||||
static WindowDesc _scan_progress_desc(
|
||||
WDP_CENTER, nullptr, 0, 0,
|
||||
WC_MODAL_PROGRESS, WC_NONE,
|
||||
0,
|
||||
{},
|
||||
_nested_scan_progress_widgets
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user