Function game::challenges::cutscene::make_panel [−][src]
fn make_panel(
ctx: &mut EventCtx<'_>,
name: &str,
scenes: &Vec<Scene>,
make_task: &Box<dyn Fn(&mut EventCtx<'_>) -> Widget>,
idx: usize
) -> Panel