2021-06-06 19:05:26 +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.
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
#nullable disable
|
|
|
|
|
2021-06-06 19:05:26 +08:00
|
|
|
using osu.Framework.Graphics.UserInterface;
|
|
|
|
|
|
|
|
namespace osu.Game.Graphics.UserInterfaceV2
|
|
|
|
{
|
|
|
|
public class OsuColourPicker : ColourPicker
|
|
|
|
{
|
|
|
|
public OsuColourPicker()
|
|
|
|
{
|
|
|
|
CornerRadius = 10;
|
|
|
|
Masking = true;
|
|
|
|
}
|
|
|
|
|
|
|
|
protected override HSVColourPicker CreateHSVColourPicker() => new OsuHSVColourPicker();
|
|
|
|
protected override HexColourPicker CreateHexColourPicker() => new OsuHexColourPicker();
|
|
|
|
}
|
|
|
|
}
|