osu/osu.Game/Overlays/FirstRunSetup/ScreenWelcome.cs

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

33 lines
1.0 KiB
C#
Raw Normal View History

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