1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

Add Window::InitScrollWidgets()

This is just a wrapper around WindowInitScrollWidgets(), but better
matches the code style.
This commit is contained in:
Sam Atkins
2022-01-28 12:07:53 +00:00
parent 149b164ee8
commit b2a1c72867
2 changed files with 6 additions and 0 deletions

View File

@@ -707,6 +707,11 @@ void Window::OnDrawWidget(rct_widgetindex widgetIndex, rct_drawpixelinfo& dpi)
WidgetDraw(&dpi, this, widgetIndex);
}
void Window::InitScrollWidgets()
{
WindowInitScrollWidgets(this);
}
void Window::InvalidateWidget(rct_widgetindex widgetIndex)
{
widget_invalidate(this, widgetIndex);