osu/osu.Desktop.VisualTests/Tests/TestCaseMenuButtonSystem.cs

29 lines
855 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 12:03:34 +00:00
using osu.Framework.Testing;
2016-11-30 05:38:45 +00:00
using osu.Framework.Graphics.Colour;
using osu.Framework.Graphics.Sprites;
2016-11-14 08:23:33 +00:00
using osu.Game.Screens.Menu;
2016-11-30 05:38:45 +00:00
using OpenTK.Graphics;
namespace osu.Desktop.VisualTests.Tests
{
2017-03-07 01:59:19 +00:00
internal class TestCaseMenuButtonSystem : TestCase
{
public override string Description => @"Main menu button system";
public override void Reset()
{
base.Reset();
2016-11-30 05:38:45 +00:00
Add(new Box
{
ColourInfo = ColourInfo.GradientVertical(Color4.Gray, Color4.WhiteSmoke),
RelativeSizeAxes = Framework.Graphics.Axes.Both,
});
Add(new ButtonSystem());
}
}
}