Files
prism/src/types/nativeWindowChrome.ts
T
2026-06-11 17:30:07 -04:00

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
}