Initial implementation of a switch button

This commit is contained in:
smoogipoo
2019-09-20 19:19:43 +09:00
parent df692b091c
commit 028c958431
2 changed files with 137 additions and 0 deletions

View File

@ -0,0 +1,20 @@
// 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 osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Tests.Visual.UserInterface
{
public class TestSceneSwitchButton : OsuTestScene
{
public TestSceneSwitchButton()
{
Child = new SwitchButton
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
};
}
}
}