2023-08-28 04:52:26 +12:00
|
|
|
export interface I_faWindowControlAPI {
|
2023-09-09 09:54:44 +12:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Check the current visual sizing of the current window
|
|
|
|
*/
|
2023-08-28 04:52:26 +12:00
|
|
|
checkWindowMaximized: () => boolean
|
2023-09-09 09:54:44 +12:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Minimizes the current window
|
|
|
|
*/
|
2023-08-28 04:52:26 +12:00
|
|
|
minimizeWindow: () => void
|
2023-09-09 09:54:44 +12:00
|
|
|
|
2023-09-14 08:37:05 +12:00
|
|
|
/**
|
|
|
|
* Mazimizes the current window
|
|
|
|
*/
|
|
|
|
maximizeWindow: () => void
|
|
|
|
|
2023-09-09 09:54:44 +12:00
|
|
|
/**
|
|
|
|
* Resizes the current window.
|
|
|
|
* - If the window is maximized, smallifies it
|
|
|
|
* - If the window is smallified, maximizes it
|
|
|
|
*/
|
2023-08-28 04:52:26 +12:00
|
|
|
resizeWindow: () => void
|
2023-09-09 09:54:44 +12:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Closes the current window
|
|
|
|
*/
|
2023-08-28 04:52:26 +12:00
|
|
|
closeWindow: () => void
|
2023-09-09 09:54:44 +12:00
|
|
|
|
2023-08-28 04:52:26 +12:00
|
|
|
}
|