1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-10 01:33:39 +08:00
Files
osu-lazer/osu.Game/Screens/OnlinePlay/Matchmaking/Match/MatchmakingBackgroundScreen.cs
T
2025-11-21 13:58:21 +09:00

36 lines
1.1 KiB
C#

// 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.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
using osu.Game.Overlays;
namespace osu.Game.Screens.OnlinePlay.Matchmaking.Match
{
public partial class MatchmakingBackgroundScreen : BackgroundScreen
{
private readonly OverlayColourProvider colourProvider;
public MatchmakingBackgroundScreen(OverlayColourProvider colourProvider)
{
this.colourProvider = colourProvider;
}
[BackgroundDependencyLoader]
private void load(TextureStore textures)
{
InternalChild = new Sprite
{
RelativeSizeAxes = Axes.Both,
Texture = textures.Get("Backgrounds/bg1"),
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
FillMode = FillMode.Fill,
Colour = colourProvider.Dark2
};
}
}
}