Class · aurore
aurore::StyleValues
On this page
#include <aurore/core/style.hpp>
class aurore::StyleValuesDescription
The metrics (sizes, margins, durations) by name, "aurore/sidebar/width"…: the ones the code adds, and over them a theme file's [metrics].
Constructors 2
The base metrics, of kind OTHER.
style.hpp:84StyleValues(std::initializer_list< StyleMetric > list) The base metrics, each with its kind.
style.hpp:86Functions 7
A metric of the base: what it is without a theme file. A name already known keeps its kind; a new one is of kind OTHER.
style.hpp:90A length of the base (kind LENGTH): it follows the density.
style.hpp:92A metric, a length at the density in use; an unknown name is logged as an error and gives 0.
style.hpp:95The metric as written, before the density.
style.hpp:97MetricKind getKind(const std::string &name) const The kind of a metric (OTHER when unknown).
style.hpp:99Whether the metric exists.
style.hpp:101The theme file's metrics, over the base (empty: the base alone).
style.hpp:104Read from Aurore's headers by Doxygen at each build · library/include