Skip to main content

draw_menu

Function draw_menu 

Source
pub fn draw_menu(
    ui: &mut UiLayer,
    x: f32,
    y: f32,
    options: &[&str],
    selected: usize,
    title: Option<&str>,
)
Expand description

Draw a menu with a list of options, highlighting the selected one.