1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-19 16:12:53 +08:00
osu-lazer/osu.Desktop.VisualTests/Tests/TestCaseMenuButtonSystem.cs

27 lines
830 B
C#
Raw Normal View History

// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
2017-03-28 20:03:34 +08:00
using osu.Framework.Testing;
2016-11-30 13:38:45 +08:00
using osu.Framework.Graphics.Colour;
2016-11-14 16:23:33 +08:00
using osu.Game.Screens.Menu;
2016-11-30 13:38:45 +08:00
using OpenTK.Graphics;
using osu.Framework.Graphics.Shapes;
namespace osu.Desktop.VisualTests.Tests
{
2017-03-07 09:59:19 +08:00
internal class TestCaseMenuButtonSystem : TestCase
{
public override string Description => @"Main menu button system";
public TestCaseMenuButtonSystem()
{
2016-11-30 13:38:45 +08:00
Add(new Box
{
ColourInfo = ColourInfo.GradientVertical(Color4.Gray, Color4.WhiteSmoke),
RelativeSizeAxes = Framework.Graphics.Axes.Both,
});
Add(new ButtonSystem());
}
}
}