Add DesktopProcess and start-gui command for launching GUI mode

This commit is contained in:
Stone_Red
2026-06-08 13:46:10 +02:00
parent 3522493689
commit 57f011ffe8
5 changed files with 108 additions and 6 deletions
+6
View File
@@ -85,6 +85,12 @@ public sealed class Window(string title, int processId, int id, IRenderSource re
return uiElement;
}
public void Invalidate()
{
isFirstRender = true;
Flush();
}
public void Flush()
{
if (!IsVisible)
+11
View File
@@ -140,6 +140,17 @@ public static class WindowManager
return null;
}
public static void InvalidateAll()
{
foreach (var processWindows in windows.Values)
{
foreach (var window in processWindows)
{
window.Invalidate();
}
}
}
private static int GetNextWindowId()
{
return nextWindowId++;