2020-08-01 11:14:24 +08:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
2020-08-01 12:04:39 +08:00
|
|
|
|
using System;
|
2020-08-01 11:14:24 +08:00
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
using osu.Game.Beatmaps;
|
|
|
|
|
using osu.Game.Graphics;
|
|
|
|
|
|
2020-08-03 02:47:09 +08:00
|
|
|
|
namespace osu.Game.Overlays.Dashboard.Home
|
2020-08-01 11:14:24 +08:00
|
|
|
|
{
|
|
|
|
|
public class DashboardNewBeatmapPanel : DashboardBeatmapPanel
|
|
|
|
|
{
|
|
|
|
|
public DashboardNewBeatmapPanel(BeatmapSetInfo setInfo)
|
|
|
|
|
: base(setInfo)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2020-08-01 12:04:39 +08:00
|
|
|
|
protected override Drawable CreateInfo() => new DrawableDate(SetInfo.OnlineInfo.Ranked ?? DateTimeOffset.Now, 10, false)
|
2020-08-01 11:14:24 +08:00
|
|
|
|
{
|
|
|
|
|
Colour = ColourProvider.Foreground1
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|