mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 20:12:42 +00:00
Codechange: make WindowPosition a scoped enum
This commit is contained in:
@@ -113,7 +113,7 @@ static constexpr std::initializer_list<NWidgetPart> _nested_network_content_down
|
||||
|
||||
/** Window description for the download window */
|
||||
static WindowDesc _network_content_download_status_window_desc(
|
||||
WDP_CENTER, {}, 0, 0,
|
||||
WindowPosition::Center, {}, 0, 0,
|
||||
WC_NETWORK_STATUS_WINDOW, WC_NONE,
|
||||
WindowDefaultFlag::Modal,
|
||||
_nested_network_content_download_status_window_widgets
|
||||
@@ -1119,7 +1119,7 @@ static constexpr std::initializer_list<NWidgetPart> _nested_network_content_list
|
||||
|
||||
/** Window description of the content list */
|
||||
static WindowDesc _network_content_list_desc(
|
||||
WDP_CENTER, "list_content", 630, 460,
|
||||
WindowPosition::Center, "list_content", 630, 460,
|
||||
WC_NETWORK_WINDOW, WC_NONE,
|
||||
{},
|
||||
_nested_network_content_list_widgets
|
||||
|
||||
Reference in New Issue
Block a user