2017-08-24 20:25:18 +09: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 20:18:47 +09:00
|
|
|
using osu.Framework.Allocation;
|
|
|
|
using osu.Game.Graphics;
|
|
|
|
|
|
|
|
namespace osu.Game.Overlays.Toolbar
|
|
|
|
{
|
2017-11-21 11:49:42 +09:00
|
|
|
public class ToolbarDirectButton : ToolbarOverlayToggleButton
|
2017-08-24 20:18:47 +09:00
|
|
|
{
|
|
|
|
public ToolbarDirectButton()
|
|
|
|
{
|
2017-08-25 13:03:34 +09:00
|
|
|
SetIcon(FontAwesome.fa_osu_chevron_down_o);
|
2017-08-24 20:18:47 +09:00
|
|
|
}
|
|
|
|
|
2017-12-26 01:12:46 +09:00
|
|
|
[BackgroundDependencyLoader(true)]
|
2017-08-24 20:18:47 +09:00
|
|
|
private void load(DirectOverlay direct)
|
|
|
|
{
|
|
|
|
StateContainer = direct;
|
|
|
|
}
|
|
|
|
}
|
2017-11-21 11:49:42 +09:00
|
|
|
}
|