diff --git a/rustdoc/ltn/impact/ui/index.html b/rustdoc/ltn/impact/ui/index.html index 5f261e42b1..ab8f4bd374 100644 --- a/rustdoc/ltn/impact/ui/index.html +++ b/rustdoc/ltn/impact/ui/index.html @@ -1,6 +1,6 @@ ltn::impact::ui - Rust

Module ltn::impact::ui[][src]

Structs

+

Module ui

\ No newline at end of file diff --git a/rustdoc/ltn/impact/ui/struct.ChangedRoutes.html b/rustdoc/ltn/impact/ui/struct.ChangedRoutes.html index 60ed2264e8..b3f5d77603 100644 --- a/rustdoc/ltn/impact/ui/struct.ChangedRoutes.html +++ b/rustdoc/ltn/impact/ui/struct.ChangedRoutes.html @@ -5,8 +5,8 @@ paths: Vec<(Path, Path)>, current: usize, draw_paths: Drawable, -}

Fields

panel: Panelpaths: Vec<(Path, Path)>current: usizedraw_paths: Drawable

Implementations

Trait Implementations

Respond to a UI event, such as input or time passing.

-

Draw

+}

Fields

panel: Panelpaths: Vec<(Path, Path)>current: usizedraw_paths: Drawable

Implementations

Trait Implementations

Respond to a UI event, such as input or time passing.

+

Draw

Specifies what to draw before draw()

Before this state is popped or replaced, call this.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

diff --git a/rustdoc/map_gui/tools/title_screen/built_info/constant.BUILT_TIME_UTC.html b/rustdoc/map_gui/tools/title_screen/built_info/constant.BUILT_TIME_UTC.html index c955f17aa3..c64f358717 100644 --- a/rustdoc/map_gui/tools/title_screen/built_info/constant.BUILT_TIME_UTC.html +++ b/rustdoc/map_gui/tools/title_screen/built_info/constant.BUILT_TIME_UTC.html @@ -1,5 +1,5 @@ BUILT_TIME_UTC in map_gui::tools::title_screen::built_info - Rust

Constant map_gui::tools::title_screen::built_info::BUILT_TIME_UTC[][src]

pub const BUILT_TIME_UTC: &str = r"Fri, 25 Mar 2022 13:32:04 +0000";
Expand description

The build time in RFC2822, UTC.

+

Constant map_gui::tools::title_screen::built_info::BUILT_TIME_UTC[][src]

pub const BUILT_TIME_UTC: &str = r"Fri, 25 Mar 2022 16:35:37 +0000";
Expand description

The build time in RFC2822, UTC.

\ No newline at end of file diff --git a/rustdoc/src/ltn/impact/ui.rs.html b/rustdoc/src/ltn/impact/ui.rs.html index eea7df0093..962763e50a 100644 --- a/rustdoc/src/ltn/impact/ui.rs.html +++ b/rustdoc/src/ltn/impact/ui.rs.html @@ -320,6 +320,17 @@ 318 319 320 +321 +322 +323 +324 +325 +326 +327 +328 +329 +330 +331
use std::collections::BTreeSet;
 
 use map_gui::tools::checkbox_per_mode;
@@ -564,13 +575,22 @@
                         .btn_prev()
                         .hotkey(Key::LeftArrow)
                         .build_widget(ctx, "previous"),
-                    "path X/Y".text_widget(ctx).named("pointer").centered_vert(),
+                    "route X/Y"
+                        .text_widget(ctx)
+                        .named("pointer")
+                        .centered_vert(),
                     ctx.style()
                         .btn_next()
                         .hotkey(Key::RightArrow)
                         .build_widget(ctx, "next"),
                 ])
                 .evenly_spaced(),
+                Line("Route before any modal filters")
+                    .fg(*colors::PLAN_ROUTE_BEFORE)
+                    .into_widget(ctx),
+                Line("Route after modal filters")
+                    .fg(*colors::PLAN_ROUTE_AFTER)
+                    .into_widget(ctx),
             ]))
             .aligned(HorizontalAlignment::Center, VerticalAlignment::Top)
             .build(ctx),
@@ -586,7 +606,7 @@
         self.panel.replace(
             ctx,
             "pointer",
-            format!("path {}/{}", self.current + 1, self.paths.len()).text_widget(ctx),
+            format!("route {}/{}", self.current + 1, self.paths.len()).text_widget(ctx),
         );
 
         let mut batch = GeomBatch::new();
@@ -601,6 +621,8 @@
                 *colors::PLAN_ROUTE_AFTER,
                 pl.make_polygons(5.0 * NORMAL_LANE_THICKNESS),
             );
+            batch.append(map_gui::tools::start_marker(ctx, pl.first_pt(), 2.0));
+            batch.append(map_gui::tools::goal_marker(ctx, pl.last_pt(), 2.0));
         }
         self.draw_paths = ctx.upload(batch);
     }
diff --git a/rustdoc/src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-49fc0ec202264eb2/out/built.rs.html b/rustdoc/src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-49fc0ec202264eb2/out/built.rs.html
index faade82ba3..8683f9a5c4 100644
--- a/rustdoc/src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-49fc0ec202264eb2/out/built.rs.html
+++ b/rustdoc/src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-49fc0ec202264eb2/out/built.rs.html
@@ -176,7 +176,7 @@
 pub const RUSTDOC_VERSION: &str = r"rustdoc 1.59.0 (9d1b2106e 2022-02-23)";
 #[doc=r#"The build time in RFC2822, UTC."#]
 #[allow(dead_code)]
-pub const BUILT_TIME_UTC: &str = r"Fri, 25 Mar 2022 13:32:04 +0000";
+pub const BUILT_TIME_UTC: &str = r"Fri, 25 Mar 2022 16:35:37 +0000";
 #[doc=r#"The target architecture, given by `CARGO_CFG_TARGET_ARCH`."#]
 #[allow(dead_code)]
 pub const CFG_TARGET_ARCH: &str = r"x86_64";
diff --git a/rustdoc/src/map_gui/render/road.rs.html b/rustdoc/src/map_gui/render/road.rs.html
index cbf5a3f421..66880816aa 100644
--- a/rustdoc/src/map_gui/render/road.rs.html
+++ b/rustdoc/src/map_gui/render/road.rs.html
@@ -196,7 +196,7 @@
 194
 
use std::cell::RefCell;
 
-use geom::{Distance, PolyLine, Polygon, Pt2D};
+use geom::{Distance, Polygon, Pt2D};
 use map_model::{Building, LaneType, Map, Road, RoadID, NORMAL_LANE_THICKNESS};
 use widgetry::{Color, Drawable, GeomBatch, GfxCtx, Line, Prerender, Text};