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