mirror of
https://github.com/ppy/osu
synced 2024-12-24 15:53:37 +00: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";
|
|
}
|
|
}
|
|
} |