1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-19 22:33:00 +08:00
osu-lazer/osu.Game/Database/TooManyDownloadsNotification.cs

27 lines
783 B
C#
Raw Normal View History

// 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.
using osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Overlays.Notifications;
2022-08-03 19:15:42 +08:00
using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Database
{
2022-11-24 13:32:20 +08:00
public partial class TooManyDownloadsNotification : SimpleNotification
{
2022-08-03 19:15:42 +08:00
public TooManyDownloadsNotification()
{
2022-08-03 19:15:42 +08:00
Text = BeatmapsetsStrings.DownloadLimitExceeded;
Icon = FontAwesome.Solid.ExclamationCircle;
}
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
IconContent.Colour = colours.RedDark;
}
}
}