2023-06-22 10:41:31 -04:00
|
|
|
|
|
|
|
use crate::{
|
|
|
|
color::*,
|
2023-07-07 12:36:31 -04:00
|
|
|
draw::Flag,
|
2023-06-22 10:41:31 -04:00
|
|
|
flag
|
|
|
|
};
|
|
|
|
|
2023-07-07 12:36:31 -04:00
|
|
|
pub fn gilbert_baker() -> Flag {
|
2023-06-22 10:41:31 -04:00
|
|
|
let pink = rgb(0xFF69B4); // sex
|
2023-06-22 11:25:16 -04:00
|
|
|
let red = rgb(0xFF0000); // life
|
|
|
|
let orange = rgb(0xFF8F00); // healing
|
|
|
|
let yellow = rgb(0xFFFF00); // sunlight
|
|
|
|
let green = rgb(0x008F00); // nature
|
2023-06-22 10:41:31 -04:00
|
|
|
let cyan = rgb(0x00C0C0); // magic
|
2023-06-22 11:25:16 -04:00
|
|
|
let indigo = rgb(0x3E0099); // serenity
|
|
|
|
let purple = rgb(0x8F008F); // spirit
|
2023-06-22 10:41:31 -04:00
|
|
|
|
2023-07-07 12:36:31 -04:00
|
|
|
Flag::Stripes(vec![pink, red, orange, yellow, green, cyan, indigo, purple])
|
2023-06-22 10:41:31 -04:00
|
|
|
}
|
|
|
|
|
2023-07-07 12:36:31 -04:00
|
|
|
pub fn philadelphia() -> Flag {
|
2023-06-22 10:41:31 -04:00
|
|
|
let brown = rgb(0x784F17);
|
|
|
|
|
2023-07-07 12:36:31 -04:00
|
|
|
let base = flag::pride();
|
|
|
|
let mut colors = match base {
|
|
|
|
Flag::Stripes(inner)
|
|
|
|
=> inner,
|
|
|
|
_
|
|
|
|
=> { panic!("impossible enum variant"); }
|
|
|
|
};
|
|
|
|
colors.insert(0, BLACK);
|
|
|
|
colors.insert(1, brown);
|
2023-06-22 10:41:31 -04:00
|
|
|
|
2023-07-07 12:36:31 -04:00
|
|
|
Flag::Stripes(colors)
|
2023-06-22 10:41:31 -04:00
|
|
|
}
|
|
|
|
|