Skip to main content

button

Function button 

Source
pub fn button(
    x: f32,
    y: f32,
    w: f32,
    h: f32,
    hover: bool,
    active: bool,
    primary: Rgba,
    bg: Rgba,
) -> Draw
Expand description

Beveled button background (label drawn by the host). hover/active brighten.