mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
API1
This commit is contained in:
@ -11,6 +11,7 @@ using osu.Framework.Graphics.Sprites;
|
||||
using osu.Framework.Graphics.Textures;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osu.Game.Online.API.Requests.Responses;
|
||||
using osu.Game.Overlays.Changelog.Header;
|
||||
using System;
|
||||
|
||||
@ -27,6 +28,8 @@ namespace osu.Game.Overlays.Changelog
|
||||
|
||||
public Action OnListingActivated;
|
||||
|
||||
public APIChangelog ChangelogEntry;
|
||||
|
||||
private const float cover_height = 310;
|
||||
private const float title_height = 50;
|
||||
private const float icon_size = 50;
|
||||
@ -181,10 +184,11 @@ namespace osu.Game.Overlays.Changelog
|
||||
};
|
||||
}
|
||||
|
||||
public void ShowReleaseStream(string headerText, string breadcrumbText)
|
||||
public void ShowReleaseStream()
|
||||
{
|
||||
releaseStream.Activate(breadcrumbText);
|
||||
changeHeaderText(headerText);
|
||||
releaseStream.Activate(String.Join(" ",
|
||||
ChangelogEntry.UpdateStream.DisplayName, ChangelogEntry.DisplayVersion));
|
||||
changeHeaderText(ChangelogEntry.UpdateStream.DisplayName);
|
||||
}
|
||||
|
||||
private void changeHeaderText(string headerText)
|
||||
|
Reference in New Issue
Block a user