|
Aurore
A Switch-like interface for your app, on every screen
|
#include <aurore/cadran/ui/cadran_frame.hpp>
Public Attributes | |
| std::string | text |
| std::string | icon = "check" |
| Tone | tone = Tone::WARN |
| std::function< void()> | on_tap |
A mode of the app the main screen's pill says over what every screen says, as long as it lasts (ui::hooks' pill fills it in; read-only is Aurore's own): its text, icon and tone, and what a tap on the pill opens (nullptr: nothing). PlayGuard's: parental controls paused or unlocked.
| std::string cadran::PillMode::icon = "check" |
| std::function<void()> cadran::PillMode::on_tap |
| std::string cadran::PillMode::text |
| Tone cadran::PillMode::tone = Tone::WARN |