1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-18 04:32:55 +08:00
osu-lazer/osu.Game/Overlays/Toolbar/ToolbarNotificationButton.cs

28 lines
827 B
C#
Raw Normal View History

2017-02-10 15:26:43 +08: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
{
public class ToolbarNotificationButton : ToolbarOverlayToggleButton
2017-02-10 15:26:43 +08:00
{
protected override Anchor TooltipAnchor => Anchor.TopRight;
public ToolbarNotificationButton()
{
Icon = FontAwesome.fa_bars;
TooltipMain = "Notifications";
TooltipSub = "Waiting for 'ya";
}
[BackgroundDependencyLoader]
private void load(NotificationOverlay notificationOverlay)
2017-02-10 15:26:43 +08:00
{
StateContainer = notificationOverlay;
2017-02-10 15:26:43 +08:00
}
}
}