45 lines
		
	
	
	
		
			1.3 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
	
		
			1.3 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| using UnityEngine;
 | |
| 
 | |
| 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 ResizeWindow(int width, int height);
 | |
|         void ResizeWindowRelative(float deltaX, float deltaY, Vector2 resizeDirection, float aspectRatio);
 | |
|     }//
 | |
| 
 | |
| }//namespace
 | 
