mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 14:42:56 +08:00
Make TLB test scene test TLB and not back button
This commit is contained in:
parent
531b107a98
commit
4ed14a295d
@ -1,17 +1,26 @@
|
||||
// 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.
|
||||
|
||||
using System.ComponentModel;
|
||||
using osu.Framework.Extensions.Color4Extensions;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osuTK;
|
||||
using osuTK.Graphics;
|
||||
|
||||
namespace osu.Game.Tests.Visual.UserInterface
|
||||
{
|
||||
[Description("mostly back button")]
|
||||
public class TestSceneTwoLayerButton : OsuTestScene
|
||||
{
|
||||
public TestSceneTwoLayerButton()
|
||||
{
|
||||
Add(new BackButton());
|
||||
Add(new TwoLayerButton
|
||||
{
|
||||
Position = new Vector2(100),
|
||||
Text = "button",
|
||||
Icon = FontAwesome.Solid.Check,
|
||||
BackgroundColour = Color4.SlateGray,
|
||||
HoverColour = Color4.SlateGray.Darken(0.2f)
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user