1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 08:52:40 +01:00

Codechange: Use EnumBitSet for WindowDefaultFlags.

This commit is contained in:
Peter Nelson
2025-01-29 23:36:47 +00:00
committed by Peter Nelson
parent efb05396a7
commit d30e8dd1c1
63 changed files with 184 additions and 183 deletions

View File

@@ -265,7 +265,7 @@ static constexpr NWidgetPart _nested_script_list_widgets[] = {
static WindowDesc _script_list_desc(
WDP_CENTER, "settings_script_list", 200, 234,
WC_SCRIPT_LIST, WC_NONE,
0,
{},
_nested_script_list_widgets
);
@@ -608,7 +608,7 @@ static constexpr NWidgetPart _nested_script_settings_widgets[] = {
static WindowDesc _script_settings_desc(
WDP_CENTER, "settings_script", 500, 208,
WC_SCRIPT_SETTINGS, WC_NONE,
0,
{},
_nested_script_settings_widgets
);
@@ -1290,7 +1290,7 @@ EndContainer(),
static WindowDesc _script_debug_desc(
WDP_AUTO, "script_debug", 600, 450,
WC_SCRIPT_DEBUG, WC_NONE,
0,
{},
_nested_script_debug_widgets,
&ScriptDebugWindow::hotkeys
);