Codechange: make WindowPosition a scoped enum

This commit is contained in:
Rubidium
2026-04-25 17:15:18 +02:00
committed by rubidium42
parent a2e99c9cfa
commit 99c8a637b4
63 changed files with 283 additions and 173 deletions
+2 -1
View File
@@ -310,8 +310,9 @@ static constexpr std::initializer_list<NWidgetPart> _nested_build_trees_widgets
EndContainer(),
};
/** Window definition for the tree building window. */
static WindowDesc _build_trees_desc(
WDP_AUTO, "build_tree", 0, 0,
WindowPosition::Automatic, "build_tree", 0, 0,
WC_BUILD_TREES, WC_NONE,
WindowDefaultFlag::Construction,
_nested_build_trees_widgets