mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-06 15:56:29 +02:00
Show CPU core count in CLI and add window creation helper methods
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user