Show CPU core count in CLI and add window creation helper methods

This commit is contained in:
Stone_Red
2026-06-12 02:48:52 +02:00
parent 5a7b1d1f97
commit a47656320a
4 changed files with 16 additions and 3 deletions
+2 -2
View File
@@ -84,7 +84,7 @@ public static class WindowManager
/// <summary>
/// Creates and registers a new window for the specified process.
/// </summary>
public static Window CreateWindow(Process process, string title, Point position, Size size)
public static Window CreateWindow(Process process, string title, Size size, Point position)
{
Window window = new(title, process.Id, GetNextWindowId(), renderSource)
{
@@ -208,7 +208,7 @@ public static class WindowManager
}
}
return CreateWindow(process, title, new Point(bestX, bestY), size);
return CreateWindow(process, title, size, new Point(bestX, bestY));
}
/// <summary>