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.Graphics;
|
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
|
|
|
|
{
|
|
|
|
public class ScreenWelcome : FirstRunSetupScreen
|
|
|
|
{
|
|
|
|
public ScreenWelcome()
|
|
|
|
{
|
2022-04-19 15:37:29 +08:00
|
|
|
Content.Children = new Drawable[]
|
2022-04-06 16:42:10 +08:00
|
|
|
{
|
2022-04-19 15:37:29 +08:00
|
|
|
new OsuTextFlowContainer(cp => cp.Font = OsuFont.Default.With(size: 20))
|
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
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|