/// OS-level window backdrop / composition effects.
///
/// On Windows 11 (22H2+): Mica (`DWMSBT_MAINWINDOW`) and
/// Acrylic (`DWMSBT_TRANSIENTWINDOW`) are applied via DWM.
/// On older Windows or other platforms the call is a no-op.
///
/// Call `apply_backdrop` AFTER the window is visible (after `show()`),
/// so the HWND is live.
use crateBgStyle;
pub use is_dark_mode;
/// Fallback dark-mode check for non-Windows platforms (always returns false).
pub
/// Apply OS-level backdrop to a Slint window.
/// No-op when `style == BgStyle::Solid` or on non-Windows platforms.