mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-26 00:45:35 +00:00
Codechange: make WindowPosition a scoped enum
This commit is contained in:
@@ -2058,8 +2058,9 @@ static constexpr std::initializer_list<NWidgetPart> _nested_smallmap_widgets = {
|
||||
EndContainer(),
|
||||
};
|
||||
|
||||
/** Window definition for the smallmap window. */
|
||||
static WindowDesc _smallmap_desc(
|
||||
WDP_AUTO, "smallmap", 484, 314,
|
||||
WindowPosition::Automatic, "smallmap", 484, 314,
|
||||
WC_SMALLMAP, WC_NONE,
|
||||
{},
|
||||
_nested_smallmap_widgets
|
||||
|
||||
Reference in New Issue
Block a user