render_message

Function render_message 

Source
pub fn render_message<D>(
    target: &mut D,
    layout: &Layout,
    status: &StatusModel<'_>,
    title: &str,
    detail: &str,
)
where D: DrawTarget<Color = BinaryColor>,
Expand description

Draw a short centered message — a pairing window opening, a wipe running, an alert, a farewell.

The header stays, so the battery is readable even while the board is busy saying something else.