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