Struct · ui
ui::Prefs
On this page
#include <aurore/cadran/ui/prefs.hpp>
struct ui::PrefsDescription
What the user chose for Cadran's look. The app keeps it in its settings and hands it over with use_prefs().
Attributes 8
"system" or one of LANGUAGES
prefs.hpp:18one of THEMES: the light or dark variant
prefs.hpp:19A theme file over the boards' palettes (aurore::Theme::loadFile: a preset "builtin:<id>" or a file of the app's themes folder, ui::hooks' themes_dir); "" for the boards' own. A file that styles one variant only takes it, whatever theme says.
one of TEXT_SIZES: "auto", larger on a TV
prefs.hpp:25one of EFFECTS: "auto", lighter on battery
prefs.hpp:26One of DENSITIES: how close the screens' pieces stand (the text keeps its size). "auto": dense on a compact screen, the app's own elsewhere.
prefs.hpp:29the Cadran screens' background glow
prefs.hpp:30The main screen's sidebar: "auto" (on its icons while a tab has the focus, open over the tab while the focus is on it), "open" (always) or "icons" (always on its icons). cadran::apply_rail() after a change.
prefs.hpp:34Read from Aurore's headers by Doxygen at each build · library/include