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