1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-27 08:33:00 +08:00
osu-lazer/osu.Game.Tests/Visual/UserInterface/TestSceneTwoLayerButton.cs

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

29 lines
817 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 17:19:50 +08:00
2022-06-17 15:37:17 +08:00
#nullable disable
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics.Sprites;
2017-09-18 21:32:49 +08:00
using osu.Game.Graphics.UserInterface;
using osuTK;
using osuTK.Graphics;
2018-04-13 17:19:50 +08:00
2019-03-25 00:02:36 +08:00
namespace osu.Game.Tests.Visual.UserInterface
2017-09-18 21:32:49 +08:00
{
public class TestSceneTwoLayerButton : OsuTestScene
2017-09-18 21:32:49 +08:00
{
public TestSceneTwoLayerButton()
2017-09-18 21:32:49 +08: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 21:32:49 +08:00
}
}
}