2018-04-13 17:19:50 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using osu.Game.Graphics;
|
|
|
|
|
using osu.Game.Screens.Select.Options;
|
2018-11-20 15:51:59 +08:00
|
|
|
|
using osuTK.Graphics;
|
|
|
|
|
using osuTK.Input;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Tests.Visual
|
|
|
|
|
{
|
|
|
|
|
[Description("bottom beatmap details")]
|
|
|
|
|
public class TestCaseBeatmapOptionsOverlay : OsuTestCase
|
|
|
|
|
{
|
|
|
|
|
public TestCaseBeatmapOptionsOverlay()
|
|
|
|
|
{
|
|
|
|
|
var overlay = new BeatmapOptionsOverlay();
|
|
|
|
|
|
|
|
|
|
overlay.AddButton(@"Remove", @"from unplayed", FontAwesome.fa_times_circle_o, Color4.Purple, null, Key.Number1);
|
|
|
|
|
overlay.AddButton(@"Clear", @"local scores", FontAwesome.fa_eraser, Color4.Purple, null, Key.Number2);
|
|
|
|
|
overlay.AddButton(@"Edit", @"Beatmap", FontAwesome.fa_pencil, Color4.Yellow, null, Key.Number3);
|
|
|
|
|
overlay.AddButton(@"Delete", @"Beatmap", FontAwesome.fa_trash, Color4.Pink, null, Key.Number4, float.MaxValue);
|
|
|
|
|
|
|
|
|
|
Add(overlay);
|
|
|
|
|
|
|
|
|
|
AddStep(@"Toggle", overlay.ToggleVisibility);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|