mirror of
https://github.com/Boof2015/prism.git
synced 2026-08-12 13:20:53 +02:00
12 lines
675 B
TypeScript
12 lines
675 B
TypeScript
export interface NativeWindowChromeAPI {
|
|
// Strips the visible native frame/shadow from a frameless WS_THICKFRAME window
|
|
// while preserving native snapping and edge resize. Returns false if the handle
|
|
// was invalid or the subclass could not be installed. Windows-only; a no-op
|
|
// elsewhere.
|
|
applyFlatFrame: (nativeWindowHandle: Buffer) => boolean
|
|
// Accent-policy acrylic blur (SetWindowCompositionAttribute). Unlike the DWM
|
|
// system backdrop, the blur persists while the window is unfocused and works
|
|
// on borderless transparent windows. Windows-only; a no-op elsewhere.
|
|
setAcrylicBlurBehind: (nativeWindowHandle: Buffer, enable: boolean) => boolean
|
|
}
|