Files
stgsharp/源代码/StgSharp/Control/TimeLine.cs
T

47 lines
1.0 KiB
C#

using StgSharp.Entities;
using StgSharp.Graphics;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Threading;
namespace StgSharp.Controlling
{
internal static partial class TimeLine
{
internal static Queue<Form> formList = new Queue<Form>();
private static bool renderChainStarted;
internal static TimelineBlock currentOperation;
private static bool isPaused = false;
internal static bool RenderStarted
{
get { return renderChainStarted; }
}
public static TimelineBlock CurrentOperation
{
get { return currentOperation; }
set
{
if (currentOperation == default ||
currentOperation.isComplete)
{
currentOperation = value;
}
}
}
internal static void RenderAll()
{
renderChainStarted = true;
}
}
}