1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-08 11:27:44 +08:00
osu-lazer/osu.Desktop.VisualTests/Tests/TestCaseBeatmapOptionsOverlay.cs

32 lines
883 B
C#
Raw Normal View History

2017-03-02 20:40:55 +08:00
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Screens.Testing;
using osu.Game.Graphics;
using osu.Game.Overlays;
2017-03-03 09:24:34 +08:00
using osu.Game.Screens.Select.Options;
2017-03-02 20:40:55 +08:00
namespace osu.Desktop.VisualTests
{
class TestCaseBeatmapOptionsOverlay : TestCase
{
public override string Name => @"Beatmap Options";
public override string Description => @"Beatmap options in song select";
public override void Reset()
{
base.Reset();
var overlay = new BeatmapOptionsOverlay
{
RelativeSizeAxes = Axes.Both,
};
Add(overlay);
AddButton(@"Toggle", overlay.ToggleVisibility);
}
}
}