Add progress tracking for chart loading.
This commit is contained in:
@@ -13,7 +13,11 @@ namespace Cryville.Crtr {
|
||||
/// <summary>
|
||||
/// The index of the event to be handled next.
|
||||
/// </summary>
|
||||
protected int EventId;
|
||||
public int EventId { get; protected set; }
|
||||
/// <summary>
|
||||
/// The event count.
|
||||
/// </summary>
|
||||
public int EventCount { get { return Events.Count; } }
|
||||
/// <summary>
|
||||
/// The event list.
|
||||
/// </summary>
|
||||
@@ -66,6 +70,13 @@ namespace Cryville.Crtr {
|
||||
ForwardToTime(double.PositiveInfinity);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Forwards to the next event.
|
||||
/// </summary>
|
||||
public void ForwardOnce() {
|
||||
ForwardOnceToTime(double.PositiveInfinity);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Forwards the time by the specified span and walks through all the encountered events.
|
||||
/// </summary>
|
||||
|
Reference in New Issue
Block a user