[][src]Module imgui_ext::bullet

bullet(...) docs.

Used to build bulleted lists. It has two variants:

  • bullet(text = "...")
  • bullet(...) bullets a UI element.

Example

use imgui_ext::ImGuiExt;

#[derive(ImGuiExt)]
struct Bullet {
    #[imgui(
        bullet(text = "Be nice to others."),
        bullet(text = "Don't repeat your password"),
        bullet(text = "Kill all humans."),
        bullet(slider(min = 0.0, max = 1.0)),
    )]
    foo: f32,
}

Result