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

Rename global window functions to TitleCase (#19167)

This commit is contained in:
Hielke Morsink
2023-01-16 21:13:42 +01:00
committed by GitHub
parent 7f5934cc95
commit 6dafbbfb65
150 changed files with 1713 additions and 1720 deletions

View File

@@ -7,7 +7,7 @@
void rct_window::SetLocation(const CoordsXYZ& coords)
{
window_scroll_to_location(*this, coords);
WindowScrollToLocation(*this, coords);
flags &= ~WF_SCROLLING_TO_LOCATION;
}
@@ -18,9 +18,9 @@ void rct_window::ScrollToViewport()
CoordsXYZ newCoords = focus.value().GetPos();
auto mainWindow = window_get_main();
auto mainWindow = WindowGetMain();
if (mainWindow != nullptr)
window_scroll_to_location(*mainWindow, newCoords);
WindowScrollToLocation(*mainWindow, newCoords);
}
void rct_window::Invalidate()