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
+6 -6
View File
@@ -126,7 +126,7 @@ static constexpr NWidgetPart _nested_normal_news_widgets[] = {
static WindowDesc _normal_news_desc(
WDP_MANUAL, nullptr, 0, 0,
WC_NEWS_WINDOW, WC_NONE,
0,
{},
_nested_normal_news_widgets
);
@@ -173,7 +173,7 @@ static constexpr NWidgetPart _nested_vehicle_news_widgets[] = {
static WindowDesc _vehicle_news_desc(
WDP_MANUAL, nullptr, 0, 0,
WC_NEWS_WINDOW, WC_NONE,
0,
{},
_nested_vehicle_news_widgets
);
@@ -217,7 +217,7 @@ static constexpr NWidgetPart _nested_company_news_widgets[] = {
static WindowDesc _company_news_desc(
WDP_MANUAL, nullptr, 0, 0,
WC_NEWS_WINDOW, WC_NONE,
0,
{},
_nested_company_news_widgets
);
@@ -251,7 +251,7 @@ static constexpr NWidgetPart _nested_thin_news_widgets[] = {
static WindowDesc _thin_news_desc(
WDP_MANUAL, nullptr, 0, 0,
WC_NEWS_WINDOW, WC_NONE,
0,
{},
_nested_thin_news_widgets
);
@@ -286,7 +286,7 @@ static constexpr NWidgetPart _nested_small_news_widgets[] = {
static WindowDesc _small_news_desc(
WDP_MANUAL, nullptr, 0, 0,
WC_NEWS_WINDOW, WC_NONE,
0,
{},
_nested_small_news_widgets
);
@@ -1270,7 +1270,7 @@ static constexpr NWidgetPart _nested_message_history[] = {
static WindowDesc _message_history_desc(
WDP_AUTO, "list_news", 400, 140,
WC_MESSAGE_HISTORY, WC_NONE,
0,
{},
_nested_message_history
);