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.
|
|
|
|
|
|
2024-11-06 15:35:11 +08:00
|
|
|
|
using osu.Framework.Bindables;
|
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;
|
2024-11-06 15:35:11 +08:00
|
|
|
|
using osu.Game.Online.Rooms;
|
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 partial class TestSceneMultiplayerMatchFooter : MultiplayerTestScene
|
2021-04-07 16:35:18 +08:00
|
|
|
|
{
|
2022-07-29 14:27:39 +08:00
|
|
|
|
public override void SetUpSteps()
|
2021-04-07 16:35:18 +08:00
|
|
|
|
{
|
2022-07-29 14:27:39 +08:00
|
|
|
|
base.SetUpSteps();
|
|
|
|
|
|
|
|
|
|
AddStep("create footer", () =>
|
2021-04-07 16:35:18 +08:00
|
|
|
|
{
|
2022-07-29 14:27:39 +08:00
|
|
|
|
Child = new PopoverContainer
|
2022-04-13 02:54:54 +08:00
|
|
|
|
{
|
|
|
|
|
Anchor = Anchor.Centre,
|
|
|
|
|
Origin = Anchor.Centre,
|
2022-07-29 14:27:39 +08:00
|
|
|
|
RelativeSizeAxes = Axes.Both,
|
|
|
|
|
Child = new Container
|
|
|
|
|
{
|
|
|
|
|
Anchor = Anchor.Centre,
|
|
|
|
|
Origin = Anchor.Centre,
|
|
|
|
|
RelativeSizeAxes = Axes.X,
|
|
|
|
|
Height = 50,
|
2024-11-12 00:38:31 +08:00
|
|
|
|
Child = new MultiplayerMatchFooter
|
|
|
|
|
{
|
|
|
|
|
SelectedItem = new Bindable<PlaylistItem?>()
|
|
|
|
|
}
|
2022-07-29 14:27:39 +08:00
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
}
|
2021-04-07 16:35:18 +08:00
|
|
|
|
}
|
|
|
|
|
}
|