1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 14:02:59 +01:00

Rename ScrollBar struct to ScrollArea and rename its properties (#22539)

This commit is contained in:
Aaron van Geffen
2024-08-11 16:21:53 +02:00
committed by GitHub
parent 00be5b0d63
commit aa7eb18d78
28 changed files with 223 additions and 209 deletions

View File

@@ -406,7 +406,7 @@ namespace OpenRCT2::Ui::Windows
VisibleListRefresh();
selected_list_item = -1;
scrolls[0].v_top = 0;
scrolls[0].contentOffsetY = 0;
frame_no = 0;
Invalidate();
break;
@@ -431,7 +431,7 @@ namespace OpenRCT2::Ui::Windows
case WIDX_FILTER_CLEAR_BUTTON:
std::fill_n(_filter_string, sizeof(_filter_string), 0x00);
FilterUpdateCounts();
scrolls->v_top = 0;
scrolls->contentOffsetY = 0;
VisibleListRefresh();
Invalidate();
break;
@@ -566,7 +566,7 @@ namespace OpenRCT2::Ui::Windows
Config::Save();
FilterUpdateCounts();
scrolls->v_top = 0;
scrolls->contentOffsetY = 0;
VisibleListRefresh();
Invalidate();
@@ -829,7 +829,7 @@ namespace OpenRCT2::Ui::Windows
FilterUpdateCounts();
scrolls->v_top = 0;
scrolls->contentOffsetY = 0;
VisibleListRefresh();
Invalidate();
@@ -1147,7 +1147,7 @@ namespace OpenRCT2::Ui::Windows
_selectedSubTab = 0;
_filter_flags |= FILTER_RIDES_ALL;
selected_list_item = -1;
scrolls[0].v_top = 0;
scrolls[0].contentOffsetY = 0;
frame_no = 0;
if (_page == EnumValue(ObjectType::Ride))