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

@ -1,4 +1,6 @@
namespace SatorImaging.AppWindowUtility
using UnityEngine;
namespace SatorImaging.AppWindowUtility
{
public interface IPlatformDependent
{
@ -36,8 +38,8 @@
void MoveWindow(int x, int y);
bool WindowResizeSupported { get; }
public void ResizeWindowRelative(int relativeWidth, int relativeHeight);
public void ResizeWindow(int width, int height);
void ResizeWindowRelative(float deltaX, float deltaY, Vector2 resizeDirection, float aspectRatio);
}//
}//namespace