mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 12:06:41 +00:00
Codechange: make WindowClass a scoped enum
This commit is contained in:
@@ -78,7 +78,7 @@ static constexpr std::initializer_list<NWidgetPart> _nested_textfile_widgets = {
|
||||
/** Window definition for the textfile window */
|
||||
static WindowDesc _textfile_desc(
|
||||
WindowPosition::Center, "textfile", 630, 460,
|
||||
WC_TEXTFILE, WC_NONE,
|
||||
WindowClass::Textfile, WindowClass::None,
|
||||
{},
|
||||
_nested_textfile_widgets
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user