|
Ultralight C API 2.0.0
|
#include <AppCore/CAPI.h>
Optional settings for a backdrop material.
Zero-initialize the struct and set struct_size to sizeof(ULBackdropOptions); a zeroed field means the default. Fields may be appended in later versions, so the size tells the library which of them you set.
See BackdropOptions in <AppCore/Window.h> for what each field does.
Public Attributes | |
| unsigned int | struct_size |
| Set to sizeof(ULBackdropOptions). | |
| int | variant |
| The material's look, a ULBackdropVariant value (0 = Auto). | |
| int | theme |
| The material's light or dark look, a ULBackdropTheme value (0 = Auto). | |
| ULColor | fallback_color |
| The color of the fallback fill (alpha ignored); unset uses a color from the theme. | |
| int | rendition |
| The style of an opaque kULBackdrop_Window, a ULBackdropRendition value (0 = Auto). | |
| ULColor fallback_color |
The color of the fallback fill (alpha ignored); unset uses a color from the theme.
| int rendition |
The style of an opaque kULBackdrop_Window, a ULBackdropRendition value (0 = Auto).
| unsigned int struct_size |
Set to sizeof(ULBackdropOptions).
| int theme |
The material's light or dark look, a ULBackdropTheme value (0 = Auto).
On Windows and macOS this also sets the title bar's.
| int variant |
The material's look, a ULBackdropVariant value (0 = Auto).