morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::ThemeValues Struct Reference

The ui-theme/1 set's values for one resolved theme. More...

#include <theme.hpp>

Public Attributes

std::map< std::string, Rgba, std::less<> > colors
 Every colour of the set, by path.
std::map< std::string, double, std::less<> > numbers
 Every number of the set, by path.
std::map< std::string, double, std::less<> > dimensions
 Every dimension of the set, by path, in px.
std::map< std::string, ThemeShadow, std::less<> > shadows
 Every shadow of the set, by path.
std::map< std::string, std::vector< std::string >, std::less<> > families
 Every font family list of the set, by path, in order of preference; empty for none.

Detailed Description

The ui-theme/1 set's values for one resolved theme.

Definition at line 1052 of file theme.hpp.

Member Data Documentation

◆ colors

std::map<std::string, Rgba, std::less<> > morph::ui::ThemeValues::colors

Every colour of the set, by path.

Definition at line 1054 of file theme.hpp.

◆ numbers

std::map<std::string, double, std::less<> > morph::ui::ThemeValues::numbers

Every number of the set, by path.

Definition at line 1056 of file theme.hpp.

◆ dimensions

std::map<std::string, double, std::less<> > morph::ui::ThemeValues::dimensions

Every dimension of the set, by path, in px.

Definition at line 1058 of file theme.hpp.

◆ shadows

std::map<std::string, ThemeShadow, std::less<> > morph::ui::ThemeValues::shadows

Every shadow of the set, by path.

Definition at line 1060 of file theme.hpp.

◆ families

std::map<std::string, std::vector<std::string>, std::less<> > morph::ui::ThemeValues::families

Every font family list of the set, by path, in order of preference; empty for none.

Definition at line 1062 of file theme.hpp.


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