// Copyright (c) 2007-2017 ppy Pty Ltd . // 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() { Icon = FontAwesome.fa_comments; } [BackgroundDependencyLoader] private void load(ChatOverlay chat) { StateContainer = chat; Action = chat.ToggleVisibility; } } }