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