1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-18 22:02:54 +08:00
osu-lazer/osu.Game.Tests/Visual/SongSelect/TestSceneBeatmapOptionsOverlay.cs

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

34 lines
1.2 KiB
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.
2018-04-13 17:19:50 +08:00
2022-06-17 15:37:17 +08:00
#nullable disable
using System.ComponentModel;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
2017-09-18 21:32:49 +08:00
using osu.Game.Screens.Select.Options;
2018-04-13 17:19:50 +08:00
2019-03-25 00:02:36 +08:00
namespace osu.Game.Tests.Visual.SongSelect
2017-09-18 21:32:49 +08:00
{
[Description("bottom beatmap details")]
public partial class TestSceneBeatmapOptionsOverlay : OsuTestScene
2017-09-18 21:32:49 +08:00
{
public TestSceneBeatmapOptionsOverlay()
2017-09-18 21:32:49 +08:00
{
var overlay = new BeatmapOptionsOverlay();
2018-04-13 17:19:50 +08:00
var colours = new OsuColour();
overlay.AddButton(@"Manage", @"collections", FontAwesome.Solid.Book, colours.Green, null);
2020-09-15 02:23:41 +08:00
overlay.AddButton(@"Delete", @"all difficulties", FontAwesome.Solid.Trash, colours.Pink, null);
overlay.AddButton(@"Remove", @"from unplayed", FontAwesome.Regular.TimesCircle, colours.Purple, null);
overlay.AddButton(@"Clear", @"local scores", FontAwesome.Solid.Eraser, colours.Purple, null);
overlay.AddButton(@"Edit", @"beatmap", FontAwesome.Solid.PencilAlt, colours.Yellow, null);
2018-04-13 17:19:50 +08:00
2017-09-18 21:32:49 +08:00
Add(overlay);
2018-04-13 17:19:50 +08:00
2017-09-18 21:32:49 +08:00
AddStep(@"Toggle", overlay.ToggleVisibility);
}
}
}