Add shared class for notice text in settings

This commit is contained in:
Salman Ahmed
2021-08-13 11:12:26 +03:00
parent cd842ccef8
commit f43ab323ff
3 changed files with 25 additions and 13 deletions

View File

@ -0,0 +1,21 @@
// 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.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Graphics.Containers;
namespace osu.Game.Overlays.Settings
{
public class SettingsNoticeText : LinkFlowContainer
{
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
Colour = colours.Yellow;
RelativeSizeAxes = Axes.X;
AutoSizeAxes = Axes.Y;
}
}
}