1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 08:52:55 +08:00

Implement OsuSliderBar.cs as base ( non framework side ) class from which NormalSliderBar.cs inherits

This commit is contained in:
mk56-spn 2023-01-26 12:16:51 +01:00
parent 3988131475
commit ac3ad9cf8d
2 changed files with 14 additions and 2 deletions

View File

@ -14,7 +14,6 @@ using osu.Framework.Audio.Sample;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.UserInterface;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Input.Events;
@ -25,7 +24,7 @@ using osu.Game.Utils;
namespace osu.Game.Graphics.UserInterface
{
public partial class NormalSliderBar<T> : SliderBar<T>, IHasTooltip, IHasAccentColour
public partial class NormalSliderBar<T> : OsuSliderBar<T>, IHasTooltip, IHasAccentColour
where T : struct, IEquatable<T>, IComparable<T>, IConvertible
{
/// <summary>

View File

@ -0,0 +1,13 @@
// 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 System;
using osu.Framework.Graphics.UserInterface;
namespace osu.Game.Graphics.UserInterface
{
public abstract partial class OsuSliderBar<T> : SliderBar<T>
where T : struct, IEquatable<T>, IComparable<T>, IConvertible
{
}
}