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