1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00

Move ride list window to UI module (#6412)

This commit is contained in:
Marijn van der Werf
2017-10-08 22:15:41 +02:00
committed by Michał Janiszewski
parent 57a8bbac23
commit ebb4bbe5d5
9 changed files with 42 additions and 25 deletions

View File

@@ -83,6 +83,8 @@ public:
return window_news_open();
case WC_RESEARCH:
return window_research_open();
case WC_RIDE_LIST:
return window_ride_list_open();
case WC_NOTIFICATION_OPTIONS:
return window_news_options_open();
case WC_OPTIONS:
@@ -234,6 +236,17 @@ public:
case INTENT_ACTION_REFRESH_NEW_RIDES:
window_new_ride_init_vars();
break;
case INTENT_ACTION_REFRESH_RIDE_LIST:
{
auto window = window_find_by_class(WC_RIDE_LIST);
if (window != nullptr)
{
window_ride_list_refresh_list(window);
}
break;
}
}
}