mirror of
https://github.com/ppy/osu.git
synced 2024-11-19 01:03:02 +08:00
4e96c5aea2
Was missing an osu! logo
34 lines
955 B
C#
34 lines
955 B
C#
// 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.Graphics.Colour;
|
|
using osu.Framework.Graphics.Shapes;
|
|
using osu.Game.Screens.Menu;
|
|
using OpenTK.Graphics;
|
|
|
|
namespace osu.Game.Tests.Visual
|
|
{
|
|
internal class TestCaseButtonSystem : OsuTestCase
|
|
{
|
|
public TestCaseButtonSystem()
|
|
{
|
|
OsuLogo logo;
|
|
ButtonSystem buttons;
|
|
|
|
Children = new Drawable[]
|
|
{
|
|
new Box
|
|
{
|
|
Colour = ColourInfo.GradientVertical(Color4.Gray, Color4.WhiteSmoke),
|
|
RelativeSizeAxes = Axes.Both,
|
|
},
|
|
buttons = new ButtonSystem(),
|
|
logo = new OsuLogo()
|
|
};
|
|
|
|
buttons.SetOsuLogo(logo);
|
|
}
|
|
}
|
|
}
|