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

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

36 lines
1.3 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.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
2022-04-06 08:42:10 +00:00
using osu.Game.Graphics.Containers;
namespace osu.Game.Overlays.FirstRunSetup
{
public class ScreenWelcome : FirstRunSetupScreen
{
public ScreenWelcome()
{
InternalChildren = new Drawable[]
2022-04-06 08:42:10 +00:00
{
new FillFlowContainer
{
RelativeSizeAxes = Axes.Both,
Direction = FillDirection.Vertical,
Children = new Drawable[]
{
new OsuTextFlowContainer(cp => cp.Font = OsuFont.Default.With(size: 20))
2022-04-06 08:42:10 +00:00
{
Text =
"Welcome to the first-run setup guide!\n\nosu! is a very configurable game, and diving straight into the settings can sometimes be overwhelming. This guide will help you get the important choices out of the way to ensure a great first experience!",
2022-04-06 08:42:10 +00:00
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y
},
}
},
};
}
}
}