1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-16 21:12:54 +08:00
osu-lazer/osu.Game/Screens/SelectV2/Footer/ScreenFooterButtonOptions.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
950 B
C#
Raw Normal View History

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
2023-09-04 12:49:29 +08:00
using osu.Framework.Extensions;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Sprites;
2023-09-04 12:49:29 +08:00
using osu.Framework.Graphics.UserInterface;
using osu.Game.Graphics;
using osu.Game.Input.Bindings;
using osu.Game.Screens.Footer;
namespace osu.Game.Screens.SelectV2.Footer
{
public partial class ScreenFooterButtonOptions : ScreenFooterButton, IHasPopover
{
[BackgroundDependencyLoader]
private void load(OsuColour colour)
{
Text = "Options";
Icon = FontAwesome.Solid.Cog;
AccentColour = colour.Purple1;
Hotkey = GlobalAction.ToggleBeatmapOptions;
2023-09-04 12:49:29 +08:00
Action = this.ShowPopover;
2023-09-04 12:49:29 +08:00
}
public Popover GetPopover() => new BeatmapOptionsPopover(this);
}
}