Skip to main content

Module windows

Module windows 

Source
Expand description

Windows platform theme reader.

On non-Windows hosts the module is compiled (for testing), but the public from_windows() entry point is only available on Windows. Windows theme reader: reads accent color, accent shades, foreground/background, per-widget fonts from NONCLIENTMETRICSW, DwmGetColorizationColor title bar colors, GetSysColor per-widget colors, accessibility from UISettings and SystemParametersInfoW, icon sizes from GetSystemMetricsForDpi, WinUI3 spacing defaults, and DPI-aware geometry metrics from UISettings (WinRT) and Win32 APIs.