feat: basic window resizing

This commit is contained in:
Gerard Gascón 2024-04-16 01:07:26 +02:00
parent 438b16fc6e
commit ce692af862
18 changed files with 324 additions and 74 deletions

View file

@ -67,8 +67,11 @@ namespace SatorImaging.AppWindowUtility
public static bool WindowResizeSupported { get => platform?.WindowResizeSupported ?? false; }
public static void ResizeWindowRelative(int pixelX, int pixelY)
=> platform?.ResizeWindowRelative(pixelX, pixelY);
public static void ResizeWindow(int pixelX, int pixelY)
=> platform?.ResizeWindow(pixelX, pixelY);
public static void ResizeWindowRelative(float pixelX, float pixelY, Vector2 resizeDirection, float aspectRatio)
=> platform?.ResizeWindowRelative(pixelX, pixelY, resizeDirection, aspectRatio);
@ -106,9 +109,5 @@ namespace SatorImaging.AppWindowUtility
}//set
}//
}//class
}//namespace