|
Ultralight C++ API 2.0.0
|
#include <AppCore/Window.h>
Optional settings for a backdrop material.
Public Attributes | |
| BackdropVariant | variant = BackdropVariant::Auto |
| The material's look. | |
| BackdropTheme | theme = BackdropTheme::Auto |
| The material's light or dark look. | |
| Color | fallback_color |
| The color of the fallback fill, shown where no live material can render (and on Windows, as the material's inactive look). | |
| BackdropRendition | rendition = BackdropRendition::Auto |
| The style of an opaque BackdropMaterial::Window (see BackdropRendition). | |
Friends | |
| constexpr bool | operator== (const BackdropOptions &, const BackdropOptions &)=default |
|
friend |
| Color fallback_color |
The color of the fallback fill, shown where no live material can render (and on Windows, as the material's inactive look).
Leave it unset to use a color from the theme. The alpha channel is ignored, and the window background color still draws over it.
| BackdropRendition rendition = BackdropRendition::Auto |
The style of an opaque BackdropMaterial::Window (see BackdropRendition).
| BackdropTheme theme = BackdropTheme::Auto |
The material's light or dark look.
| BackdropVariant variant = BackdropVariant::Auto |
The material's look.
If the platform can't render it, the library uses the nearest look it can.