1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +01:00

Refactor window functions to take references 1

This commit is contained in:
Hielke Morsink
2022-07-30 21:59:47 +02:00
parent 889293f2b7
commit 76c1bc8980
57 changed files with 210 additions and 210 deletions

View File

@@ -392,7 +392,7 @@ public:
{
widgets = window_object_load_error_widgets;
WindowInitScrollWidgets(this);
WindowInitScrollWidgets(*this);
colours[0] = COLOUR_LIGHT_BLUE;
colours[1] = COLOUR_LIGHT_BLUE;
colours[2] = COLOUR_LIGHT_BLUE;
@@ -485,7 +485,7 @@ public:
void OnDraw(rct_drawpixelinfo& dpi) override
{
WindowDrawWidgets(this, &dpi);
WindowDrawWidgets(*this, &dpi);
// Draw explanatory message
auto ft = Formatter();