Add icon next to beatmap title/username to open in browser

This commit is contained in:
jorolf
2018-05-22 15:29:52 +02:00
parent 088deee70a
commit b324337fa1
4 changed files with 119 additions and 28 deletions

View File

@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using osu.Game.Graphics.UserInterface;
using OpenTK;
namespace osu.Game.Tests.Visual
{
public class TestCaseExternalLinkButton : OsuTestCase
{
public override IReadOnlyList<Type> RequiredTypes => new[] { typeof(ExternalLinkButton) };
public TestCaseExternalLinkButton()
{
Child = new ExternalLinkButton("https://osu.ppy.sh/home")
{
Size = new Vector2(50)
};
}
}
}