From ab1849a89175466ba1faa44fd0081a33b3fc91c0 Mon Sep 17 00:00:00 2001 From: "H. Utku Maden" Date: Thu, 16 May 2024 22:57:38 +0300 Subject: [PATCH] Add missing commands. --- Quik/CommandMachine/CommandEngine.cs | 12 +++++++++++- Quik/CommandMachine/CommandList.cs | 17 +++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/Quik/CommandMachine/CommandEngine.cs b/Quik/CommandMachine/CommandEngine.cs index a414dfe..2142666 100644 --- a/Quik/CommandMachine/CommandEngine.cs +++ b/Quik/CommandMachine/CommandEngine.cs @@ -20,7 +20,7 @@ namespace Quik.CommandMachine public QMat4 ActiveTransforms { get; } - public StyleStack Style { get; } = new StyleStack(new Quik.Style()); + public StyleStack Style { get; } = new StyleStack(new Style()); protected CommandEngine() { @@ -99,6 +99,16 @@ namespace Quik.CommandMachine case Command.PopZ: _zIndex = _zStack.TryPop(out int zindex) ? zindex : 0; break; + case Command.PushStyle: + Style.Push(iterator.Dequeue().As