game::info::trip

Function make_timeline

Source
fn make_timeline(
    ctx: &mut EventCtx<'_>,
    app: &App,
    trip_id: TripID,
    phases: &[TripPhase],
    progress_along_path: Option<f64>,
) -> Widget
Expand description

Draws the timeline for a single trip, with tooltips