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::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::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::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::nice_country_name [−][src]
Function map_gui::tools::nice_country_name [−][src]
Function map_gui::tools::nice_map_name [−][src]
Function map_gui::tools::nice_map_name [−][src]
Function map_gui::tools::open_browser [−][src]
Function map_gui::tools::open_browser [−][src]
Module map_gui::tools [−][src]
Expand description
Assorted tools and UI states that’re useful for applications built to display maps.
+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 8304a5ac79..ffc9328798 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,4 +1,4 @@Constant map_gui::tools::title_screen::built_info::BUILT_TIME_UTC [−][src]
pub const BUILT_TIME_UTC: &str = r"Mon, 24 Jan 2022 20:56:46 +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, 25 Jan 2022 12:40: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;
@@ -589,6 +590,7 @@
("london", "southbank") => "Southbank",
("london", "southwark") => "Southwark",
("long_marston", "center") => "Long Marston (Stratford)",
+ ("manchester", "levenshulme") => "Levenshulme (Manchester)",
("marsh_barton", "center") => "Marsh Barton",
("micklefield", "center") => "Micklefield",
("newborough_road", "center") => "Newborough Road",