|
Aurore
A Switch-like interface for your app, on every screen
|
Go to the source code of this file.
Namespaces | |
| namespace | motion |
Functions | |
| aurore::Time | motion::now () |
| Now, in µs (the clock every helper reads). | |
| float | motion::progress (aurore::Time since, float duration_us) |
| float | motion::ease_out (float t) |
| Easings, 0..1 to 0..1. | |
| float | motion::ease_in_out (float t) |
| sine | |
| float | motion::back_out (float t) |
| overshoots a little, then settles | |
| void | motion::reveal (aurore::View *view, float rise=10.0f, int ms=180, int delay_ms=0) |
| void | motion::reveal_all (const std::vector< aurore::View * > &views, float rise=8.0f, int ms=220, int stagger_ms=35, int limit=8) |
| void | motion::dismiss (aurore::View *view, std::function< void()> then, float rise=8.0f, int ms=200) |
| void | motion::slide_from (aurore::View *view, float dx, float dy, int ms=220) |
| void | motion::breathe (aurore::View *view, float low=0.45f, int ms=700) |
view breathes once: to low alpha and back, over ms. | |