1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 07:14:31 +01:00

Rename WindowWidgetType to WidgetType and change for new code style

This commit is contained in:
Gymnasiast
2025-06-10 19:55:12 +02:00
parent 149468406b
commit 650fa3ae2e
86 changed files with 2114 additions and 2153 deletions

View File

@@ -69,10 +69,10 @@ namespace OpenRCT2::Ui::Windows
// clang-format off
static constexpr auto _trackPlaceWidgets = makeWidgets(
makeWindowShim(WINDOW_TITLE, WW, WH),
makeWidget({173, 83}, { 24, 24}, WindowWidgetType::FlatBtn, WindowColour::primary, ImageId(SPR_ROTATE_ARROW), STR_ROTATE_90_TIP ),
makeWidget({173, 59}, { 24, 24}, WindowWidgetType::FlatBtn, WindowColour::primary, ImageId(SPR_MIRROR_ARROW), STR_MIRROR_IMAGE_TIP ),
makeWidget({ 4, 109}, {192, 12}, WindowWidgetType::Button, WindowColour::primary, STR_SELECT_A_DIFFERENT_DESIGN, STR_GO_BACK_TO_DESIGN_SELECTION_WINDOW_TIP),
makeWidget({ 0, 0}, { 1, 1}, WindowWidgetType::Empty, WindowColour::primary)
makeWidget({173, 83}, { 24, 24}, WidgetType::flatBtn, WindowColour::primary, ImageId(SPR_ROTATE_ARROW), STR_ROTATE_90_TIP ),
makeWidget({173, 59}, { 24, 24}, WidgetType::flatBtn, WindowColour::primary, ImageId(SPR_MIRROR_ARROW), STR_MIRROR_IMAGE_TIP ),
makeWidget({ 4, 109}, {192, 12}, WidgetType::button, WindowColour::primary, STR_SELECT_A_DIFFERENT_DESIGN, STR_GO_BACK_TO_DESIGN_SELECTION_WINDOW_TIP),
makeWidget({ 0, 0}, { 1, 1}, WidgetType::empty, WindowColour::primary)
);
// clang-format on