Rename OsuSliderBar.cs as NormalSliderBar.cs

This commit is contained in:
mk56-spn
2023-01-26 12:12:56 +01:00
parent 9677a8e3b3
commit 3988131475
19 changed files with 27 additions and 27 deletions

View File

@ -21,7 +21,7 @@ namespace osu.Game.Graphics.UserInterface
/// </summary>
public partial class ExpandableSlider<T, TSlider> : CompositeDrawable, IExpandable, IHasCurrentValue<T>
where T : struct, IEquatable<T>, IComparable<T>, IConvertible
where TSlider : OsuSliderBar<T>, new()
where TSlider : NormalSliderBar<T>, new()
{
private readonly OsuSpriteText label;
private readonly TSlider slider;
@ -130,7 +130,7 @@ namespace osu.Game.Graphics.UserInterface
/// <summary>
/// An <see cref="IExpandable"/> implementation for the UI slider bar control.
/// </summary>
public partial class ExpandableSlider<T> : ExpandableSlider<T, OsuSliderBar<T>>
public partial class ExpandableSlider<T> : ExpandableSlider<T, NormalSliderBar<T>>
where T : struct, IEquatable<T>, IComparable<T>, IConvertible
{
}

View File

@ -25,7 +25,7 @@ using osu.Game.Utils;
namespace osu.Game.Graphics.UserInterface
{
public partial class OsuSliderBar<T> : SliderBar<T>, IHasTooltip, IHasAccentColour
public partial class NormalSliderBar<T> : SliderBar<T>, IHasTooltip, IHasAccentColour
where T : struct, IEquatable<T>, IComparable<T>, IConvertible
{
/// <summary>
@ -77,7 +77,7 @@ namespace osu.Game.Graphics.UserInterface
}
}
public OsuSliderBar()
public NormalSliderBar()
{
Height = Nub.HEIGHT;
RangePadding = Nub.EXPANDED_SIZE / 2;

View File

@ -158,7 +158,7 @@ namespace osu.Game.Graphics.UserInterface
&& screenSpacePos.X >= Nub.ScreenSpaceDrawQuad.TopLeft.X;
}
protected partial class BoundSlider : OsuSliderBar<double>
protected partial class BoundSlider : NormalSliderBar<double>
{
public string? DefaultString;
public LocalisableString? DefaultTooltip;

View File

@ -10,7 +10,7 @@ namespace osu.Game.Graphics.UserInterface
/// <summary>
/// A slider bar which displays a millisecond time value.
/// </summary>
public partial class TimeSlider : OsuSliderBar<double>
public partial class TimeSlider : NormalSliderBar<double>
{
public override LocalisableString TooltipText => $"{Current.Value:N0} ms";
}