1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-19 17:52:57 +08:00
osu-lazer/osu.Desktop.Tests/Visual/TestCaseMenuButtonSystem.cs

26 lines
794 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
2016-11-30 13:38:45 +08:00
using osu.Framework.Graphics.Colour;
using osu.Framework.Graphics.Shapes;
2016-11-14 16:23:33 +08:00
using osu.Game.Screens.Menu;
2016-11-30 13:38:45 +08:00
using OpenTK.Graphics;
namespace osu.Desktop.Tests.Visual
{
internal class TestCaseMenuButtonSystem : OsuTestCase
{
public override string Description => @"Main menu button system";
public TestCaseMenuButtonSystem()
{
2016-11-30 13:38:45 +08:00
Add(new Box
{
2017-07-23 13:30:50 +08:00
Colour = ColourInfo.GradientVertical(Color4.Gray, Color4.WhiteSmoke),
2016-11-30 13:38:45 +08:00
RelativeSizeAxes = Framework.Graphics.Axes.Both,
});
Add(new ButtonSystem());
}
}
}