feat: setup window using the api

This commit is contained in:
Gerard Gascón 2024-04-15 01:24:13 +02:00
parent 61c18429a2
commit 19cd8e5d03
27 changed files with 1364 additions and 10 deletions

View 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