fantasia-archive/interfaces/I_faWindowControlAPI.ts
2023-09-12 21:20:26 +02:00

26 lines
470 B
TypeScript

export interface I_faWindowControlAPI {
/**
* Check the current visual sizing of the current window
*/
checkWindowMaximized: () => boolean
/**
* Minimizes the current window
*/
minimizeWindow: () => void
/**
* Resizes the current window.
* - If the window is maximized, smallifies it
* - If the window is smallified, maximizes it
*/
resizeWindow: () => void
/**
* Closes the current window
*/
closeWindow: () => void
}