mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Initial implementation of a switch button
This commit is contained in:
20
osu.Game.Tests/Visual/UserInterface/TestSceneSwitchButton.cs
Normal file
20
osu.Game.Tests/Visual/UserInterface/TestSceneSwitchButton.cs
Normal 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,
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user