2017-08-24 11:25:18 +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
|
|
|
|
|
2017-08-24 11:18:47 +00:00
|
|
|
using osu.Framework.Allocation;
|
|
|
|
using osu.Game.Graphics;
|
|
|
|
|
|
|
|
namespace osu.Game.Overlays.Toolbar
|
|
|
|
{
|
|
|
|
internal class ToolbarDirectButton : ToolbarOverlayToggleButton
|
|
|
|
{
|
|
|
|
public ToolbarDirectButton()
|
|
|
|
{
|
|
|
|
SetIcon(FontAwesome.fa_download);
|
|
|
|
}
|
|
|
|
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
private void load(DirectOverlay direct)
|
|
|
|
{
|
|
|
|
StateContainer = direct;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|