Skip to main content

paint

Function paint 

Source
pub fn paint<G: GameData>(
    ctx: &Ctx<G>,
    view: &DebugMenuView,
    buf: &mut GlyphBuffer,
)
Expand description

Paints the debug menu’s view over the whole of buf: the title, the menu centred under it and the help line at the bottom.