Expand description
slider(...) docs.
§fields
minmaximum value.maxminimum value.
§Optional fields
labelformatformat string (inprintfformat)powercatchoverride widget label.mapapplies a mapping function to&mut Self(works the same as in the input example)
§Example
#[derive(imgui_ext::Gui)]
struct Sliders {
#[imgui(slider(min = 0.0, max = 1.0))]
foo: f32,
#[imgui(slider(min = 0, max = 16, format = "bar = %.02f"))]
bar: [i32; 2],
}§Result
