Add taskbar, start menu, and desktop background with gradient bands

This commit is contained in:
Stone_Red
2026-06-16 19:25:04 +02:00
parent e3ece1fb4a
commit 92cc387f2d
4 changed files with 204 additions and 127 deletions
+14
View File
@@ -263,6 +263,20 @@ public static class WindowManager
}
}
/// <summary>
/// Returns all windows across all processes, ordered by Z-index (highest first).
/// </summary>
public static List<Window> GetAllWindows()
{
lock (windowsLock)
{
return windows.Values
.SelectMany(w => w)
.OrderBy(w => w.Id)
.ToList();
}
}
/// <summary>
/// Closes all windows belonging to the given process.
/// </summary>