docs
Loading...
Searching...
No Matches
ULBackdropOptions

#include <AppCore/CAPI.h>

Overview

Optional settings for a backdrop material.

See also
ulWindowSetBackdrop()

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).

Member Data Documentation

◆ fallback_color

ULColor fallback_color

The color of the fallback fill (alpha ignored); unset uses a color from the theme.

◆ rendition

int rendition

The style of an opaque kULBackdrop_Window, a ULBackdropRendition value (0 = Auto).

◆ struct_size

unsigned int struct_size

Set to sizeof(ULBackdropOptions).

◆ theme

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.

◆ variant

int variant

The material's look, a ULBackdropVariant value (0 = Auto).


The documentation for this struct was generated from the following file: