1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 13:22:55 +08:00

ScoreContainer -> PaginatedScoreContainer

This commit is contained in:
Dean Herbert 2017-10-30 19:06:40 +09:00
parent dce7d1c910
commit b660366d96
4 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@ namespace osu.Game.Overlays.Profile.Sections
public HistoricalSection()
{
Child = new ScoreContainer(ScoreType.Recent, User, "Recent Plays (24h)");
Child = new PaginatedScoreContainer(ScoreType.Recent, User, "Recent Plays (24h)");
}
}
}

View File

@ -18,7 +18,7 @@ using System.Linq;
namespace osu.Game.Overlays.Profile.Sections.Ranks
{
public class ScoreContainer : FillFlowContainer
public class PaginatedScoreContainer : FillFlowContainer
{
private readonly FillFlowContainer<DrawableScore> scoreContainer;
private readonly OsuSpriteText missing;
@ -42,7 +42,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
showMore();
}
public ScoreContainer(ScoreType type, Bindable<User> user, string header, bool includeWeight = false)
public PaginatedScoreContainer(ScoreType type, Bindable<User> user, string header, bool includeWeight = false)
{
this.type = type;
this.includeWeight = includeWeight;

View File

@ -16,8 +16,8 @@ namespace osu.Game.Overlays.Profile.Sections
{
Children = new[]
{
new ScoreContainer(ScoreType.Best, User, "Best Performance", true),
new ScoreContainer(ScoreType.Firsts, User, "First Place Ranks"),
new PaginatedScoreContainer(ScoreType.Best, User, "Best Performance", true),
new PaginatedScoreContainer(ScoreType.Firsts, User, "First Place Ranks"),
};
}
}

View File

@ -295,7 +295,7 @@
<Compile Include="Online\API\Requests\GetBeatmapSetRequest.cs" />
<Compile Include="Online\API\Requests\GetBeatmapSetsResponse.cs" />
<Compile Include="Overlays\Profile\Sections\Ranks\DrawablePerformanceScore.cs" />
<Compile Include="Overlays\Profile\Sections\Ranks\ScoreContainer.cs" />
<Compile Include="Overlays\Profile\Sections\Ranks\PaginatedScoreContainer.cs" />
<Compile Include="Overlays\Settings\SettingsButton.cs" />
<Compile Include="Screens\Edit\Screens\Compose\Timeline\BeatmapWaveformGraph.cs" />
<Compile Include="Beatmaps\Drawables\DifficultyColouredContainer.cs" />