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
|
|
|
|
|
|
|
|
|
using System.ComponentModel;
|
2019-03-27 19:29:27 +09:00
|
|
|
|
using osu.Framework.Graphics.Sprites;
|
2018-04-13 18:19:50 +09:00
|
|
|
|
using osu.Game.Screens.Select.Options;
|
2018-11-20 16:51:59 +09:00
|
|
|
|
using osuTK.Graphics;
|
|
|
|
|
using osuTK.Input;
|
2018-04-13 18:19:50 +09:00
|
|
|
|
|
2019-03-25 01:02:36 +09:00
|
|
|
|
namespace osu.Game.Tests.Visual.SongSelect
|
2018-04-13 18:19:50 +09:00
|
|
|
|
{
|
|
|
|
|
[Description("bottom beatmap details")]
|
2019-05-14 22:37:25 +03:00
|
|
|
|
public class TestSceneBeatmapOptionsOverlay : OsuTestScene
|
2018-04-13 18:19:50 +09:00
|
|
|
|
{
|
2019-05-14 22:37:25 +03:00
|
|
|
|
public TestSceneBeatmapOptionsOverlay()
|
2018-04-13 18:19:50 +09:00
|
|
|
|
{
|
|
|
|
|
var overlay = new BeatmapOptionsOverlay();
|
|
|
|
|
|
2019-04-02 19:55:24 +09:00
|
|
|
|
overlay.AddButton(@"Remove", @"from unplayed", FontAwesome.Regular.TimesCircle, Color4.Purple, null, Key.Number1);
|
|
|
|
|
overlay.AddButton(@"Clear", @"local scores", FontAwesome.Solid.Eraser, Color4.Purple, null, Key.Number2);
|
|
|
|
|
overlay.AddButton(@"Edit", @"Beatmap", FontAwesome.Solid.PencilAlt, Color4.Yellow, null, Key.Number3);
|
|
|
|
|
overlay.AddButton(@"Delete", @"Beatmap", FontAwesome.Solid.Trash, Color4.Pink, null, Key.Number4, float.MaxValue);
|
2018-04-13 18:19:50 +09:00
|
|
|
|
|
|
|
|
|
Add(overlay);
|
|
|
|
|
|
|
|
|
|
AddStep(@"Toggle", overlay.ToggleVisibility);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|