Function map_gui::tools::app_header [−][src]
Expand description
A standard way to group a home button back to the title screen, the title of the current app, +
Function map_gui::tools::app_header [−][src]
Expand description
A standard way to group a home button back to the title screen, the title of the current app,
and a button to change maps. Callers must handle the change map
and home
click events.
Function map_gui::tools::change_map_btn [−][src]
pub fn change_map_btn(ctx: &EventCtx<'_>, app: &dyn AppLike) -> Widget
Expand description
A button to change maps, with default keybindings
+Function map_gui::tools::find_exe [−][src]
Expand description
Returns the path to an executable. Native-only.
+Function map_gui::tools::home_btn [−][src]
pub fn home_btn(ctx: &EventCtx<'_>) -> Widget
Expand description
A button to return to the title screen
+Function map_gui::tools::intersections_from_roads [−][src]
pub fn intersections_from_roads(
roads: &BTreeSet<RoadID>,
map: &Map
) -> BTreeSet<IntersectionID>
Function map_gui::tools::intersections_from_roads [−][src]
pub fn intersections_from_roads(
roads: &BTreeSet<RoadID>,
map: &Map
) -> BTreeSet<IntersectionID>
Function map_gui::tools::update_url_map_name [−][src]
pub fn update_url_map_name(app: &dyn AppLike)
Expand description
Modify the current URL to set the first free parameter to the current map name.
+Module map_gui::tools [−][src]
Expand description
Assorted tools and UI states that’re useful for applications built to display maps.
+Module tools
Module map_gui::tools [−][src]
Expand description
Assorted tools and UI states that’re useful for applications built to display maps.
Modules
Generic UI tools. Some of this should perhaps be lifted to widgetry.
Structs
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 3374421b77..51ef57e357 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 @@Constant map_gui::tools::title_screen::built_info::BUILT_TIME_UTC [−][src]
pub const BUILT_TIME_UTC: &str = r"Tue, 22 Mar 2022 14:41:03 +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"Tue, 22 Mar 2022 18:18:25 +0000";
Expand description
The build time in RFC2822, UTC.
//! Assorted tools and UI states that're useful for applications built to display maps.
use std::collections::BTreeSet;
@@ -599,6 +600,7 @@
("dunton_hills", "center") => "Dunton Hills",
("ebbsfleet", "center") => "Ebbsfleet (Dartford)",
("exeter_red_cow_village", "center") => "Exeter Red Cow Village",
+ ("glenrothes", "center") => "Glenrothes (Scotland)",
("great_kneighton", "center") => "Great Kneighton (Cambridge)",
("halsnhead", "center") => "Halsnead",
("hampton", "center") => "Hampton",