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