mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 19:04:06 +08:00
Tidy up ISongProgressBar
interface
This commit is contained in:
parent
45c5bd8403
commit
afc12e0b83
@ -7,10 +7,14 @@ namespace osu.Game.Screens.Play.HUD
|
||||
{
|
||||
public interface ISongProgressBar
|
||||
{
|
||||
public Action<double>? OnSeek { get; set; }
|
||||
public double StartTime { set; }
|
||||
public double EndTime { set; }
|
||||
public double CurrentTime { set; }
|
||||
/// <summary>
|
||||
/// Whether the progress bar should allow interaction, ie. to perform seek operations.
|
||||
/// </summary>
|
||||
public bool Interactive { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Action which is invoked when a seek is requested, with the proposed millisecond value for the seek operation.
|
||||
/// </summary>
|
||||
public Action<double>? OnSeek { get; set; }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user