1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
use widgetry::Color;
lazy_static::lazy_static! {
pub static ref NEIGHBOURHOODS: [Color; 6] = [
Color::BLUE.alpha(0.3),
Color::YELLOW.alpha(0.3),
Color::GREEN.alpha(0.3),
Color::PURPLE.alpha(0.3),
Color::PINK.alpha(0.3),
Color::ORANGE.alpha(0.3),
];
pub static ref CELLS: [Color; 6] = [
Color::BLUE.alpha(0.5),
Color::YELLOW.alpha(0.5),
Color::hex("#3CAEA3").alpha(0.5),
Color::PURPLE.alpha(0.5),
Color::PINK.alpha(0.5),
Color::ORANGE.alpha(0.5),
];
pub static ref FILTER_OUTER: Color = Color::RED;
pub static ref FILTER_INNER: Color = Color::WHITE;
pub static ref PLAN_ROUTE_BEFORE: Color = Color::RED;
pub static ref PLAN_ROUTE_AFTER: Color = Color::CYAN;
pub static ref PLAN_ROUTE_BIKE: Color = Color::GREEN;
pub static ref PLAN_ROUTE_WALK: Color = Color::BLUE;
}
pub const DISCONNECTED_CELL: Color = Color::RED.alpha(0.5);
pub const OUTLINE: Color = Color::BLACK;
pub const HIGHLIGHT_BOUNDARY_UNZOOMED: Color = Color::RED.alpha(0.6);
pub const HIGHLIGHT_BOUNDARY_ZOOMED: Color = Color::RED.alpha(0.5);
pub const SHORTCUT_PATH: Color = Color::RED;
pub const BLOCK_IN_BOUNDARY: Color = Color::BLUE.alpha(0.5);
pub const BLOCK_IN_FRONTIER: Color = Color::CYAN.alpha(0.2);