feat: setup window using the api
This commit is contained in:
parent
61c18429a2
commit
19cd8e5d03
27 changed files with 1364 additions and 10 deletions
43
Packages/AppWindowUtility/Runtime/IPlatformDependent.cs
Normal file
43
Packages/AppWindowUtility/Runtime/IPlatformDependent.cs
Normal file
|
@ -0,0 +1,43 @@
|
|||
namespace SatorImaging.AppWindowUtility
|
||||
{
|
||||
public interface IPlatformDependent
|
||||
{
|
||||
bool AlwaysOnTopSupported { get; }
|
||||
bool GetAlwaysOnTop();
|
||||
void SetAlwaysOnTop(bool enable);
|
||||
|
||||
bool TransparentSupported { get; }
|
||||
bool GetTransparent();
|
||||
void SetTransparent(bool enable);
|
||||
|
||||
bool FrameVisibilitySupported { get; }
|
||||
bool GetFrameVisibility();
|
||||
void SetFrameVisibility(bool visible);
|
||||
|
||||
bool ClickThroughSupported { get; }
|
||||
bool GetClickThrough();
|
||||
void SetClickThrough(bool enable);
|
||||
|
||||
bool AsWallpaperSupported { get; }
|
||||
bool GetAsWallpaper();
|
||||
void SetAsWallpaper(bool enable);
|
||||
|
||||
|
||||
|
||||
bool KeyingColorSupported { get; }
|
||||
void SetKeyingColor(byte red, byte green, byte blue);
|
||||
|
||||
bool WindowOpacitySupported { get; }
|
||||
void SetWindowOpacity(byte opacity);
|
||||
|
||||
|
||||
bool WindowPlacementSupported { get; }
|
||||
void MoveWindowRelative(int pixelX, int pixelY);
|
||||
void MoveWindow(int x, int y);
|
||||
|
||||
bool WindowResizeSupported { get; }
|
||||
public void ResizeWindowRelative(int relativeWidth, int relativeHeight);
|
||||
|
||||
}//
|
||||
|
||||
}//namespace
|
Loading…
Add table
Add a link
Reference in a new issue