2018-01-05 11:21:19 +00:00
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-04-11 05:01:13 +00:00
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
using osu.Framework.Allocation;
|
|
|
|
using osu.Framework.Graphics;
|
2017-04-18 06:16:50 +00:00
|
|
|
using osu.Game.Beatmaps;
|
2017-04-11 05:01:13 +00:00
|
|
|
using osu.Game.Graphics;
|
2017-04-18 06:16:50 +00:00
|
|
|
using osu.Game.Rulesets.Scoring;
|
2017-04-11 05:01:13 +00:00
|
|
|
using osu.Game.Screens.Select.Leaderboards;
|
|
|
|
using OpenTK;
|
2017-06-20 05:54:23 +00:00
|
|
|
using osu.Framework.Graphics.Shapes;
|
2017-04-11 05:01:13 +00:00
|
|
|
|
|
|
|
namespace osu.Game.Screens.Ranking
|
|
|
|
{
|
2017-11-21 02:49:42 +00:00
|
|
|
public class ResultsPageRanking : ResultsPage
|
2017-04-11 05:01:13 +00:00
|
|
|
{
|
2017-04-18 06:16:50 +00:00
|
|
|
public ResultsPageRanking(Score score, WorkingBeatmap beatmap = null) : base(score, beatmap)
|
2017-04-11 05:01:13 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
private void load(OsuColour colours)
|
|
|
|
{
|
|
|
|
Children = new Drawable[]
|
|
|
|
{
|
|
|
|
new Box
|
|
|
|
{
|
|
|
|
Colour = colours.GrayE,
|
|
|
|
RelativeSizeAxes = Axes.Both,
|
|
|
|
},
|
|
|
|
new Leaderboard
|
|
|
|
{
|
|
|
|
Origin = Anchor.Centre,
|
|
|
|
Anchor = Anchor.Centre,
|
|
|
|
RelativeSizeAxes = Axes.Both,
|
2017-04-18 06:16:50 +00:00
|
|
|
Beatmap = Beatmap.BeatmapInfo ?? Score.Beatmap,
|
2017-04-11 05:01:13 +00:00
|
|
|
Scale = new Vector2(0.7f)
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
2017-11-21 02:49:42 +00:00
|
|
|
}
|