osu/osu.Game.Tests/Visual/UserInterface/TestSceneTwoLayerButton.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
806 B
C#
Raw Normal View History

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
2018-04-13 09:19:50 +00:00
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics.Sprites;
2017-09-18 13:32:49 +00:00
using osu.Game.Graphics.UserInterface;
using osuTK;
using osuTK.Graphics;
2018-04-13 09:19:50 +00:00
2019-03-24 16:02:36 +00:00
namespace osu.Game.Tests.Visual.UserInterface
2017-09-18 13:32:49 +00:00
{
public partial class TestSceneTwoLayerButton : OsuTestScene
2017-09-18 13:32:49 +00:00
{
public TestSceneTwoLayerButton()
2017-09-18 13:32:49 +00:00
{
Add(new TwoLayerButton
{
Position = new Vector2(100),
Text = "button",
Icon = FontAwesome.Solid.Check,
BackgroundColour = Color4.SlateGray,
HoverColour = Color4.SlateGray.Darken(0.2f)
});
2017-09-18 13:32:49 +00:00
}
}
}