2021-04-07 16:35:18 +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.
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
#nullable disable
|
|
|
|
|
2021-06-25 12:02:19 +08:00
|
|
|
using NUnit.Framework;
|
2021-04-07 16:35:18 +08:00
|
|
|
using osu.Framework.Graphics;
|
2022-04-13 02:54:54 +08:00
|
|
|
using osu.Framework.Graphics.Containers;
|
2022-04-12 22:01:37 +08:00
|
|
|
using osu.Framework.Graphics.Cursor;
|
2021-04-07 16:35:18 +08:00
|
|
|
using osu.Game.Screens.OnlinePlay.Multiplayer.Match;
|
|
|
|
|
|
|
|
namespace osu.Game.Tests.Visual.Multiplayer
|
|
|
|
{
|
2021-06-25 19:09:03 +08:00
|
|
|
public class TestSceneMultiplayerMatchFooter : MultiplayerTestScene
|
2021-04-07 16:35:18 +08:00
|
|
|
{
|
2021-06-25 12:02:19 +08:00
|
|
|
[SetUp]
|
|
|
|
public new void Setup() => Schedule(() =>
|
2021-04-07 16:35:18 +08:00
|
|
|
{
|
2022-04-12 22:01:37 +08:00
|
|
|
Child = new PopoverContainer
|
2021-04-07 16:35:18 +08:00
|
|
|
{
|
|
|
|
Anchor = Anchor.Centre,
|
|
|
|
Origin = Anchor.Centre,
|
2022-04-13 02:54:54 +08:00
|
|
|
RelativeSizeAxes = Axes.Both,
|
|
|
|
Child = new Container
|
|
|
|
{
|
|
|
|
Anchor = Anchor.Centre,
|
|
|
|
Origin = Anchor.Centre,
|
|
|
|
RelativeSizeAxes = Axes.X,
|
|
|
|
Height = 50,
|
|
|
|
Child = new MultiplayerMatchFooter()
|
|
|
|
}
|
2021-04-07 16:35:18 +08:00
|
|
|
};
|
2021-06-25 12:02:19 +08:00
|
|
|
});
|
2021-04-07 16:35:18 +08:00
|
|
|
}
|
|
|
|
}
|