feat: basic window resizing
This commit is contained in:
parent
438b16fc6e
commit
ce692af862
18 changed files with 324 additions and 74 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue