Struct · aurore
aurore::ThemeInfo
A theme file as listThemes() or inspect() read it, without applying it.
On this page
#include <aurore/core/theme.hpp>
struct aurore::ThemeInfoNested classes
aurore::ThemeInfo::PreviewA few colours to show it in a picker, per variant it styles.
Functions 6
Whether it was read without errors.
theme.hpp:279ThemeVariant variant() const The variant to show it in when it styles one only.
theme.hpp:281bool styles(ThemeVariant variant) const Whether it styles variant.
Attributes 21
as given to loadFile(); "builtin:<id>" for a preset
theme.hpp:211the file's name without its extension
theme.hpp:212its name, else the id
its author
its version
its description
Its background_image: the dark variant's, else the light one's; "" without one (each variant's below)
theme.hpp:219Its icon, the Cadran icon a picker shows it with ("snowflake"...), "" without one
For a file that styles one variant, the theme file of the other one (counterpart, as given to loadFile; "" without one): what a picker switches to when the other variant is asked for.
The variants it styles: one when it inherits light or dark, both when it has [light] and [dark] (it then follows the system's mode).
theme.hpp:231ThemeBackground lightBackgroundEach variant's background (image, fit, dim, surface opacity)
theme.hpp:247ThemePictures lightPicturesEach variant's logo, icons, preview and image slots' pictures.
theme.hpp:255ThemeDecor lightDecorEach variant's decorations (backdrops, strips, particles)
theme.hpp:263"line 4: #12 is not a colour"…: lines skipped, files not found.
theme.hpp:271Unknown keys and text that reads badly on its background. Text on a background picture is checked only when the picture's colour is known: from an explicit check (inspect or listThemes with decodePictures), or once the picture was loaded in this run; a plain listing never decodes.
theme.hpp:276Read from Aurore's headers by Doxygen at each build · library/include