daily update on 20231214 by nitload youmu

This commit is contained in:
Nitload
2023-12-14 07:01:01 +08:00
parent f97fb137ba
commit 8b14599233
54 changed files with 537 additions and 241 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ namespace StgSharp
{
internal static void RegistForm(Form form)
{
TimeLine.allForm.Add(form);
}
public static void LoadTimeline()
+3
View File
@@ -4,7 +4,10 @@
public static partial class Operation
{
//method used for chaging the value of paameters will be listed here
internal static void RenderNextFrame()
{
}
}
}
+1 -1
View File
@@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace StgSharp.Controlling
{
public static partial class TimeLine
internal static partial class TimeLine
{
}
}
+10 -15
View File
@@ -6,20 +6,18 @@ using System.Threading;
namespace StgSharp.Controlling
{
public static partial class TimeLine
internal static partial class TimeLine
{
internal static LinkedList<Form> allForm;
private static LinkedList<Form.FrameUpdateTimer> refreshList = new LinkedList<Form.FrameUpdateTimer>();
internal static LinkedListNode<Form.FrameUpdateTimer> signalNode;
private static LinkedList<Form> allFormList = new LinkedList<Form>();
internal static Queue<Form> formList = new Queue<Form>();
private static bool renderChainStarted;
internal static TimelineBlock currentOperation;
private static bool isPaused = false;
static unsafe TimeLine()
internal static bool RenderStarted
{
allForm = new LinkedList<Form>();
get { return renderChainStarted; }
}
public static TimelineBlock CurrentOperation
@@ -35,14 +33,11 @@ namespace StgSharp.Controlling
}
}
internal static void UodateAllFrame()
{
foreach (Form item in allForm)
{
item.formThread.Start();
}
}
internal static void RenderAll()
{
renderChainStarted = true;
}