Aurore
A Switch-like interface for your app, on every screen
Loading...
Searching...
No Matches
text_size Namespace Reference

Functions

bool docked ()
 The console on its dock (the desktop: AURORE_DOCKED=1, ui::env_flag).
 
float scale ()
 
bool larger ()
 
void apply ()
 aurore::Label's scale from larger(); the screens laid out again when it changed.
 
void install ()
 apply() before the first view, then follows the dock. Once, at start-up.
 

Variables

constexpr float LARGE = 1.25f
 
constexpr float LARGEST = 1.5f
 

Function Documentation

◆ apply()

void text_size::apply ( )

aurore::Label's scale from larger(); the screens laid out again when it changed.

◆ docked()

bool text_size::docked ( )

The console on its dock (the desktop: AURORE_DOCKED=1, ui::env_flag).

◆ install()

void text_size::install ( )

apply() before the first view, then follows the dock. Once, at start-up.

◆ larger()

bool text_size::larger ( )

◆ scale()

float text_size::scale ( )

What the setting and the console's mode ask for now: the labels' scale, and whether it is more than 1.

Variable Documentation

◆ LARGE

constexpr float text_size::LARGE = 1.25f
constexpr

◆ LARGEST

constexpr float text_size::LARGEST = 1.5f
constexpr