Struct · aurore

aurore::ThemeParticles

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

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

struct aurore::ThemeParticles

Functions 1

bool enabled() const

Whether any particle is drawn.

theme.hpp:188

Attributes 5

float density = LOW
float speed = 1.0f

0.25 to 4

theme.hpp:182
std::vector< NVGcolor > colors

particles_color: up to MAX_COLORS; empty: from the palette

theme.hpp:185

Static attributes 4

static constexpr constexpr float LOW = 0.3f
static constexpr float MEDIUM = 0.6f
static constexpr float HIGH = 1.0f
static constexpr constexpr int MAX_COLORS = 5

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