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-06-08 20:41:20 +08:00
|
|
|
|
|
2019-02-21 18:04:31 +08:00
|
|
|
|
using osu.Framework.Bindables;
|
2018-06-08 20:41:20 +08:00
|
|
|
|
using osu.Game.Rulesets.Objects;
|
2018-11-07 15:51:28 +08:00
|
|
|
|
using osu.Game.Rulesets.UI.Scrolling.Algorithms;
|
2018-06-08 20:41:20 +08:00
|
|
|
|
|
2018-11-06 12:58:38 +08:00
|
|
|
|
namespace osu.Game.Rulesets.UI.Scrolling
|
2018-06-08 20:41:20 +08:00
|
|
|
|
{
|
|
|
|
|
public interface IScrollingInfo
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The direction <see cref="HitObject"/>s should scroll in.
|
|
|
|
|
/// </summary>
|
|
|
|
|
IBindable<ScrollingDirection> Direction { get; }
|
2018-11-07 15:51:28 +08:00
|
|
|
|
|
2018-11-07 16:24:05 +08:00
|
|
|
|
/// <summary>
|
2023-08-15 19:38:17 +08:00
|
|
|
|
/// The span of time that is visible by the length of the scrolling axes.
|
2018-11-07 16:24:05 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
IBindable<double> TimeRange { get; }
|
|
|
|
|
|
2018-11-07 15:51:28 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The algorithm which controls <see cref="HitObject"/> positions and sizes.
|
|
|
|
|
/// </summary>
|
2023-08-15 19:38:17 +08:00
|
|
|
|
IBindable<IScrollAlgorithm> Algorithm { get; }
|
2018-06-08 20:41:20 +08:00
|
|
|
|
}
|
|
|
|
|
}
|