Skip to main content

draw_stat_line

Function draw_stat_line 

Source
pub fn draw_stat_line(
    ui: &mut UiLayer,
    x: f32,
    y: f32,
    label: &str,
    value: &str,
    label_color: Vec4,
    value_color: Vec4,
)
Expand description

Draw a stat line: “Label: Value” with colored value.