Skip to main content

ui_slider

Function ui_slider 

Source
pub fn ui_slider(
    id: u32,
    x: f32,
    y: f32,
    w: f32,
    min: f32,
    max: f32,
    initial: f32,
) -> f32
Expand description

Render a slider. Returns the current value.

initial sets the value the first time this ID is seen.