Skip to main content

paint

Function paint 

Source
pub fn paint<G: GameData>(
    ctx: &Ctx<G>,
    buf: &mut GlyphBuffer,
    place: BoxPlace,
    text: &TextView,
    speaker: Option<&str>,
)
Expand description

Paints text in a box at place, with speaker‘s name on its border (none for narration). The replies’ labels are in the player’s language (Ctx::label).