2019-01-24 16:43:03 +08:00
|
|
|
|
// 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-06-17 15:37:17 +08:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2022-07-28 11:16:21 +08:00
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
using osu.Game.Graphics.Cursor;
|
2018-05-22 21:29:52 +08:00
|
|
|
|
using osu.Game.Graphics.UserInterface;
|
2018-11-20 15:51:59 +08:00
|
|
|
|
using osuTK;
|
2018-05-22 21:29:52 +08:00
|
|
|
|
|
2019-03-25 00:02:36 +08:00
|
|
|
|
namespace osu.Game.Tests.Visual.Online
|
2018-05-22 21:29:52 +08:00
|
|
|
|
{
|
2022-11-24 13:32:20 +08:00
|
|
|
|
public partial class TestSceneExternalLinkButton : OsuTestScene
|
2018-05-22 21:29:52 +08:00
|
|
|
|
{
|
2019-05-15 03:37:25 +08:00
|
|
|
|
public TestSceneExternalLinkButton()
|
2018-05-22 21:29:52 +08:00
|
|
|
|
{
|
2022-07-28 11:16:21 +08:00
|
|
|
|
Child = new OsuContextMenuContainer
|
2018-05-22 21:29:52 +08:00
|
|
|
|
{
|
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,
|
|
|
|
|
}
|
2018-05-22 21:29:52 +08:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|