using RemSox.Processing; using RemSox.UI.GUI.Rendering; using RemSox.UI.GUI.UIEelements.Controls; using RemSox.UI.GUI.Windows; using System.Drawing; namespace RemSox.Processes; internal class DesktopProcess() : Process("Desktop Manager") { private static bool isGraphicsInitialized = false; internal override void Start(string[] args) { if (!isGraphicsInitialized) { WindowManager.AddRenderSource(new CanvasRenderSource()); isGraphicsInitialized = true; } WindowManager.InvalidateAll(); // Test window 1: interactive controls Window testWindow = WindowManager.CreateWindow(this, "UI Controls", new Size(280, 260)); testWindow.AutoFlush = true; Button button = testWindow.CreateUIElement