Struct · aurore

aurore::ThemeBackground

A variant's background, as a theme file sets it (docs/themes.md)

On this page
aurore/core/theme.hpp
#include <aurore/core/theme.hpp>

struct aurore::ThemeBackground

Functions 1

bool hasImage() const

Attributes 4

std::string image

background_image: its path (Theme::resolveAsset), "" without one

theme.hpp:85
float dim = DEFAULT_DIM

background_dim: how much of aurore/background veils the image (0 to 1)

theme.hpp:88
float surfaceOpacity = 1.0f

surface_opacity: the surfaces' opacity over the image (0 to 1), see Theme::addSurfaceKey; 1 without an image

theme.hpp:91

Static attributes 1

static constexpr constexpr float DEFAULT_DIM = 0.35f

Read from Aurore's headers by Doxygen at each build · library/include