mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 21:13:05 +01:00
* Close #21569: Remove 'Window' from Window Open function names Windows are all under the OpenRCT2::Ui::Windows namespace. As such, "Window" is removed from the Open functions names. * Update Contributors.md * Fix formatting TrackMangeOpen Co-authored-by: Tulio Leao <tupaschoal@gmail.com> * Fix formatting TrackPlaceOpen Co-authored-by: Tulio Leao <tupaschoal@gmail.com> --------- Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
This commit is contained in:
@@ -111,7 +111,7 @@ static Widget window_error_widgets[] = {
|
||||
}
|
||||
};
|
||||
|
||||
WindowBase* WindowErrorOpen(std::string_view title, std::string_view message)
|
||||
WindowBase* ErrorOpen(std::string_view title, std::string_view message)
|
||||
{
|
||||
std::string buffer = "{BLACK}";
|
||||
buffer.append(title);
|
||||
@@ -166,10 +166,10 @@ static Widget window_error_widgets[] = {
|
||||
WF_STICK_TO_FRONT | WF_TRANSPARENT | WF_RESIZABLE);
|
||||
}
|
||||
|
||||
WindowBase* WindowErrorOpen(StringId title, StringId message, const Formatter& args)
|
||||
WindowBase* ErrorOpen(StringId title, StringId message, const Formatter& args)
|
||||
{
|
||||
auto titlez = FormatStringIDLegacy(title, args.Data());
|
||||
auto messagez = FormatStringIDLegacy(message, args.Data());
|
||||
return WindowErrorOpen(titlez, messagez);
|
||||
return ErrorOpen(titlez, messagez);
|
||||
}
|
||||
} // namespace OpenRCT2::Ui::Windows
|
||||
|
||||
Reference in New Issue
Block a user