2017-02-10 07:26:43 +00:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using osu.Framework.Allocation;
|
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
using osu.Game.Graphics;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Overlays.Toolbar
|
|
|
|
|
{
|
2017-03-07 01:59:19 +00:00
|
|
|
|
internal class ToolbarNotificationButton : ToolbarOverlayToggleButton
|
2017-02-10 07:26:43 +00:00
|
|
|
|
{
|
|
|
|
|
protected override Anchor TooltipAnchor => Anchor.TopRight;
|
|
|
|
|
|
|
|
|
|
public ToolbarNotificationButton()
|
|
|
|
|
{
|
|
|
|
|
Icon = FontAwesome.fa_bars;
|
|
|
|
|
TooltipMain = "Notifications";
|
|
|
|
|
TooltipSub = "Waiting for 'ya";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load(NotificationManager notificationManager)
|
|
|
|
|
{
|
|
|
|
|
StateContainer = notificationManager;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|