docs
Loading...
Searching...
No Matches
BackdropOptions

#include <AppCore/Window.h>

Overview

Optional settings for a backdrop material.

See also
Window::SetBackdrop()

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

◆ operator==

bool operator== ( const BackdropOptions & ,
const BackdropOptions &  )
friend

Member Data Documentation

◆ fallback_color

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.

◆ rendition

◆ theme

The material's light or dark look.

Note
On Windows and macOS, this also sets the light or dark look of the window's title bar.

◆ variant

The material's look.

If the platform can't render it, the library uses the nearest look it can.


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