1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 09:14:58 +01:00

Rename TOP_TOOLBAR_HEIGHT to kTopToolbarHeight

This commit is contained in:
Harry-Hopkinson
2024-04-14 17:41:28 +00:00
parent f357dd6cab
commit cd9ca1debb
9 changed files with 42 additions and 42 deletions

View File

@@ -435,7 +435,7 @@ static Widget window_install_track_widgets[] = {
int32_t screenWidth = ContextGetWidth();
int32_t screenHeight = ContextGetHeight();
auto screenPos = ScreenCoordsXY{ screenWidth / 2 - 201, std::max(TOP_TOOLBAR_HEIGHT + 1, screenHeight / 2 - 200) };
auto screenPos = ScreenCoordsXY{ screenWidth / 2 - 201, std::max(kTopToolbarHeight + 1, screenHeight / 2 - 200) };
auto* window = WindowFocusOrCreate<InstallTrackWindow>(WindowClass::InstallTrack, screenPos, WW, WH, 0);
window->SetupTrack(path, std::move(trackDesign));