bn::backdrop namespace

Backdrop related functions.

Functions

auto color() -> const optional<bn::color>&
Returns the overridden backdrop color if any, bn::nullopt otherwise.
void set_color(bn::color color)
Sets the overridden backdrop color.
void set_color(const optional<bn::color>& color)
Sets or removes the overridden backdrop color.
void remove_color()
Removes the overridden backdrop color, if any.
auto blending_bottom_enabled() -> bool
Indicates if the backdrop is part of the blending bottom layer or not.
void set_blending_bottom_enabled(bool blending_bottom_enabled)
Sets if the backdrop must be part of the blending bottom layer or not.

Function documentation

const optional<bn::color>& bn::backdrop::color()

Returns the overridden backdrop color if any, bn::nullopt otherwise.

The backdrop color is the transparent color of the backgrounds.

void bn::backdrop::set_color(bn::color color)

Sets the overridden backdrop color.

The backdrop color is the transparent color of the backgrounds.

void bn::backdrop::set_color(const optional<bn::color>& color)

Sets or removes the overridden backdrop color.

The backdrop color is the transparent color of the backgrounds.

void bn::backdrop::remove_color()

Removes the overridden backdrop color, if any.

The backdrop color is the transparent color of the backgrounds.