diff --git a/Processes/DesktopProcess.cs b/Processes/DesktopProcess.cs index f53e5b5..1779e03 100644 --- a/Processes/DesktopProcess.cs +++ b/Processes/DesktopProcess.cs @@ -3,6 +3,8 @@ 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") @@ -17,31 +19,30 @@ internal class DesktopProcess() : Process("Desktop Manager") isGraphicsInitialized = true; } - // Force existing windows to redraw onto the new canvas renderer WindowManager.InvalidateAll(); - // Create a test window for new UI controls - Window testWindow = WindowManager.CreateWindow(this, "UI Controls Test", new System.Drawing.Size(200, 180)); + // Test window 1: interactive controls + Window testWindow = WindowManager.CreateWindow(this, "UI Controls", new Size(280, 260)); testWindow.AutoFlush = true; - Button button = testWindow.CreateUIElement(b => + Button button = testWindow.CreateUIElement