1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-26 02:22:54 +08:00
osu-lazer/osu.Game/Overlays/FirstRunSetup/ScreenWelcome.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
1.0 KiB
C#
Raw Normal View History

2022-04-06 16:42:10 +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.
using osu.Framework.Allocation;
2022-04-06 16:42:10 +08:00
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Graphics;
2022-04-06 16:42:10 +08:00
using osu.Game.Graphics.Containers;
using osu.Game.Localisation;
2022-04-06 16:42:10 +08:00
namespace osu.Game.Overlays.FirstRunSetup
{
[LocalisableDescription(typeof(FirstRunSetupOverlayStrings), nameof(FirstRunSetupOverlayStrings.WelcomeTitle))]
2022-04-06 16:42:10 +08:00
public class ScreenWelcome : FirstRunSetupScreen
{
[BackgroundDependencyLoader]
private void load()
2022-04-06 16:42:10 +08:00
{
Content.Children = new Drawable[]
2022-04-06 16:42:10 +08:00
{
new OsuTextFlowContainer(cp => cp.Font = OsuFont.Default.With(size: CONTENT_FONT_SIZE))
2022-04-06 16:42:10 +08:00
{
Text = FirstRunSetupOverlayStrings.WelcomeDescription,
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y
2022-04-06 16:42:10 +08:00
},
};
}
}
}