mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 12:06:41 +00:00
Codechange: make WindowPosition a scoped enum
This commit is contained in:
+2
-1
@@ -137,8 +137,9 @@ static constexpr std::initializer_list<NWidgetPart> _nested_console_window_widge
|
||||
NWidget(WWT_EMPTY, Colours::Invalid, WID_C_BACKGROUND), SetResize(1, 1),
|
||||
};
|
||||
|
||||
/** Window definition for the console window. */
|
||||
static WindowDesc _console_window_desc(
|
||||
WDP_MANUAL, {}, 0, 0,
|
||||
WindowPosition::Manual, {}, 0, 0,
|
||||
WC_CONSOLE, WC_NONE,
|
||||
{},
|
||||
_nested_console_window_widgets
|
||||
|
||||
Reference in New Issue
Block a user