Aurore
A Switch-like interface for your app, on every screen
Loading...
Searching...
No Matches
prefs.hpp File Reference
#include <string>

Go to the source code of this file.

Classes

struct  ui::Prefs
 

Namespaces

namespace  ui
 

Functions

Prefs & ui::prefs ()
 The ones in use: the app's (use_prefs), else defaults of their own.
 
void ui::use_prefs (Prefs &p)
 From now on, prefs() is p, which must outlive every screen.
 
bool ui::env_flag (const char *name)
 

Variables

constexpr const char * ui::LANGUAGES []
 
constexpr const char * ui::THEMES [] = { "system", "light", "dark" }
 
constexpr const char * ui::TEXT_SIZES [] = { "auto", "normal", "large", "largest" }
 
constexpr const char * ui::EFFECTS [] = { "auto", "full", "reduced" }
 
constexpr const char * ui::RAILS [] = { "auto", "open", "icons" }