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