2019-01-24 08:43:03 +00:00
|
|
|
|
// 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 09:19:50 +00:00
|
|
|
|
|
|
|
|
|
using System.ComponentModel;
|
2019-03-27 10:29:27 +00:00
|
|
|
|
using osu.Framework.Graphics.Sprites;
|
2020-09-14 18:20:43 +00:00
|
|
|
|
using osu.Game.Graphics;
|
2018-04-13 09:19:50 +00:00
|
|
|
|
using osu.Game.Screens.Select.Options;
|
|
|
|
|
|
2019-03-24 16:02:36 +00:00
|
|
|
|
namespace osu.Game.Tests.Visual.SongSelect
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
|
|
|
|
[Description("bottom beatmap details")]
|
2019-05-14 19:37:25 +00:00
|
|
|
|
public class TestSceneBeatmapOptionsOverlay : OsuTestScene
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
2019-05-14 19:37:25 +00:00
|
|
|
|
public TestSceneBeatmapOptionsOverlay()
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
|
|
|
|
var overlay = new BeatmapOptionsOverlay();
|
|
|
|
|
|
2020-09-14 18:20:43 +00:00
|
|
|
|
var colours = new OsuColour();
|
|
|
|
|
|
2020-09-14 18:21:23 +00:00
|
|
|
|
overlay.AddButton(@"Manage", @"collections", FontAwesome.Solid.Book, colours.Green, null);
|
2020-09-14 18:23:41 +00:00
|
|
|
|
overlay.AddButton(@"Delete", @"all difficulties", FontAwesome.Solid.Trash, colours.Pink, null);
|
2020-09-14 18:20:43 +00:00
|
|
|
|
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 09:19:50 +00:00
|
|
|
|
|
|
|
|
|
Add(overlay);
|
|
|
|
|
|
|
|
|
|
AddStep(@"Toggle", overlay.ToggleVisibility);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|