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

Functions

bool in_hand ()
 The console is off its dock.
 
bool light ()
 
bool reduced ()
 The setting is "reduced": nothing moves for show (the glow stays).
 
bool motion ()
 

Function Documentation

◆ in_hand()

bool effects::in_hand ( )

The console is off its dock.

◆ light()

bool effects::light ( )

What the setting and the power ask for now: the lighter effects (no glow, nothing moving).

◆ motion()

bool effects::motion ( )

A decorative movement may be drawn now: neither light() nor reduced(), not the app's reduced motion (aurore::Application::setReduceMotion), and not the desktop's still frames (AURORE_STILL_FOCUS, for the screenshots that compare). Every animation of the look asks this first; the core's own (transition=) ask aurore::Application::getReduceMotion(), which asks this.

◆ reduced()

bool effects::reduced ( )

The setting is "reduced": nothing moves for show (the glow stays).