2019-01-24 16:43:03 +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.
|
2018-10-25 14:49:45 +08:00
|
|
|
|
|
|
|
using System.Collections.Generic;
|
2024-05-23 20:36:49 +08:00
|
|
|
using osu.Framework.Allocation;
|
|
|
|
using osu.Framework.Graphics;
|
2018-11-20 15:51:59 +08:00
|
|
|
using osuTK;
|
2018-10-25 14:49:45 +08:00
|
|
|
|
2020-12-04 19:21:53 +08:00
|
|
|
namespace osu.Game.Rulesets.Osu.Skinning.Default
|
2018-10-25 14:49:45 +08:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// A <see cref="SliderBody"/> with the ability to set the drawn vertices manually.
|
|
|
|
/// </summary>
|
|
|
|
public partial class ManualSliderBody : SliderBody
|
|
|
|
{
|
2024-05-22 16:39:42 +08:00
|
|
|
public new void SetVertices(IReadOnlyList<Vector2> vertices) => base.SetVertices(vertices);
|
|
|
|
|
2024-05-23 20:36:49 +08:00
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
private void load()
|
2018-10-25 14:49:45 +08:00
|
|
|
{
|
2024-05-23 20:36:49 +08:00
|
|
|
AutoSizeAxes = Axes.Both;
|
2018-10-25 14:49:45 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|