Struct · cadran

cadran::PillMode

On this page
aurore/cadran/ui/cadran_frame.hpp
#include <aurore/cadran/ui/cadran_frame.hpp>

struct cadran::PillMode

Description

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.

Attributes 4

std::string text
std::string icon = "check"
std::function< void()> on_tap

Read from Aurore's headers by Doxygen at each build · library/include