1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-18 22:02:54 +08:00
osu-lazer/osu.Game/Overlays/Toolbar/ToolbarDirectButton.cs

23 lines
611 B
C#
Raw Normal View History

2018-01-05 19:21:19 +08:00
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
2017-08-24 19:25:18 +08:00
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
2017-08-24 19:18:47 +08:00
using osu.Framework.Allocation;
using osu.Game.Graphics;
namespace osu.Game.Overlays.Toolbar
{
public class ToolbarDirectButton : ToolbarOverlayToggleButton
2017-08-24 19:18:47 +08:00
{
public ToolbarDirectButton()
{
SetIcon(FontAwesome.fa_osu_chevron_down_o);
2017-08-24 19:18:47 +08:00
}
[BackgroundDependencyLoader(true)]
2017-08-24 19:18:47 +08:00
private void load(DirectOverlay direct)
{
StateContainer = direct;
}
}
}