mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 03:47:26 +08:00
9bf36418a0
Also adds visual toggle state for toggleable buttons.
19 lines
533 B
C#
19 lines
533 B
C#
//Copyright (c) 2007-2016 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;
|
|
using osu.Game.Screens.Menu;
|
|
|
|
namespace osu.Game.Overlays.Toolbar
|
|
{
|
|
class ToolbarHomeButton : ToolbarButton
|
|
{
|
|
public ToolbarHomeButton()
|
|
{
|
|
Icon = FontAwesome.fa_home;
|
|
TooltipMain = "Home";
|
|
TooltipSub = "Return to the main menu";
|
|
}
|
|
}
|
|
} |