1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 06:52:56 +08:00
osu-lazer/osu.Game.Tests/Visual/Online/TestSceneExternalLinkButton.cs

28 lines
821 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-05-22 21:41:10 +08:00
2022-07-28 11:16:21 +08:00
using osu.Framework.Graphics;
using osu.Game.Graphics.Cursor;
using osu.Game.Graphics.UserInterface;
2018-11-20 15:51:59 +08:00
using osuTK;
2019-03-25 00:02:36 +08:00
namespace osu.Game.Tests.Visual.Online
{
2022-11-24 13:32:20 +08:00
public partial class TestSceneExternalLinkButton : OsuTestScene
{
public TestSceneExternalLinkButton()
{
2022-07-28 11:16:21 +08:00
Child = new OsuContextMenuContainer
{
2022-07-28 11:16:21 +08:00
RelativeSizeAxes = Axes.Both,
Child = new ExternalLinkButton("https://osu.ppy.sh/home")
{
Size = new Vector2(50),
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
}
};
}
}
}