mirror of
https://github.com/ppy/osu
synced 2024-12-16 11:56:31 +00:00
0d9ea97828
This also - Renames TextAwesome to SpriteIcon. - Removes the default size of "20" from SpriteIcon (now defaults to the underlying texture size).
22 lines
585 B
C#
22 lines
585 B
C#
// 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.Game.Graphics;
|
|
|
|
namespace osu.Game.Overlays.Toolbar
|
|
{
|
|
internal class ToolbarChatButton : ToolbarOverlayToggleButton
|
|
{
|
|
public ToolbarChatButton()
|
|
{
|
|
SetIcon(FontAwesome.fa_comments);
|
|
}
|
|
|
|
[BackgroundDependencyLoader]
|
|
private void load(ChatOverlay chat)
|
|
{
|
|
StateContainer = chat;
|
|
}
|
|
}
|
|
} |