1
0
Fork 0
mirror of https://github.com/ppy/osu-tools.git synced 2025-06-10 10:00:45 +09:00
osu-tools/PerformanceCalculatorGUI/Components/ExtendedOsuCheckbox.cs
2022-04-20 20:15:16 +03:00

20 lines
608 B
C#

// 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.Colour;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
namespace PerformanceCalculatorGUI.Components
{
internal class ExtendedOsuCheckbox : OsuCheckbox
{
public ColourInfo TextColour { get; set; }
protected override void ApplyLabelParameters(SpriteText text)
{
base.ApplyLabelParameters(text);
text.Colour = TextColour;
}
}
}