From 0381b8d14cd73bb23ec0f33b8953c57aa4ef6e92 Mon Sep 17 00:00:00 2001 From: Felix Suchert Date: Tue, 28 Mar 2023 22:48:44 +0200 Subject: [PATCH] add missing bitmaps --- assets/fog.bmp | Bin 0 -> 402 bytes assets/thick-fog.bmp | Bin 0 -> 402 bytes assets/wind.bmp | Bin 0 -> 402 bytes src/lib.rs | 1 + src/weather/icons.rs | 21 ++++++++++----------- 5 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 assets/fog.bmp create mode 100644 assets/thick-fog.bmp create mode 100644 assets/wind.bmp diff --git a/assets/fog.bmp b/assets/fog.bmp new file mode 100644 index 0000000000000000000000000000000000000000..36192e6702a845057f3a175a409124b87ee3a7a9 GIT binary patch literal 402 zcma)%F$%&!5Jg|KNMRB10*WW_1`BDdY`luCU^+`77w{^I7YSI{Mr;xY`7*mJsEzsT z@OF1*Kl}4_nc!6dJ75XSfrQvdU^)pk0$-r_^2%46ZP*Q$dHqU~mEkWdAQhY=kMW(8 zigAk3`#9-g89vSx-~DST5JjJ%Oo2ol2}Vds?Iu+kCddx7NG|D_h*21U34DztZNieW}vDCr$s|`3D%UrEmZM literal 0 HcmV?d00001 diff --git a/assets/wind.bmp b/assets/wind.bmp new file mode 100644 index 0000000000000000000000000000000000000000..7fa4d0497fe67fb225fe522233f6a63ea159652a GIT binary patch literal 402 zcma)%F%H5o3`Kuf7}&S~907@msZtjv7OujC1Tz~*y%b}Qz(&SWMWRJ57}?(}EbtZU z#j*XZ>7#mA>_TYk5p_W7!>ym(F~oOk~xN OF_QI(>@(8${@@#Powm6E literal 0 HcmV?d00001 diff --git a/src/lib.rs b/src/lib.rs index 1e0d548..133e03d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,6 +18,7 @@ where weather::get_weather(display) } +// TODO(feliix42): Remove dead code here pub fn populate_default(display: &mut D) where diff --git a/src/weather/icons.rs b/src/weather/icons.rs index f063051..49c39c7 100644 --- a/src/weather/icons.rs +++ b/src/weather/icons.rs @@ -8,17 +8,16 @@ pub static DRIZZLE: &'static [u8] = include_bytes!("../../assets/drizzle.bmp"); pub static RAIN: &'static [u8] = include_bytes!("../../assets/rain.bmp"); pub static SNOW: &'static [u8] = include_bytes!("../../assets/snow.bmp"); -// TODO(feliix42): replace assets -pub static MIST: &'static [u8] = include_bytes!("../../assets/rain.bmp"); -pub static SMOKE: &'static [u8] = include_bytes!("../../assets/rain.bmp"); -pub static HAZE: &'static [u8] = include_bytes!("../../assets/rain.bmp"); -pub static SANDDUST: &'static [u8] = include_bytes!("../../assets/rain.bmp"); -pub static FOG: &'static [u8] = include_bytes!("../../assets/rain.bmp"); -pub static SAND: &'static [u8] = include_bytes!("../../assets/rain.bmp"); -pub static DUST: &'static [u8] = include_bytes!("../../assets/rain.bmp"); -pub static ASH: &'static [u8] = include_bytes!("../../assets/rain.bmp"); -pub static SQUALL: &'static [u8] = include_bytes!("../../assets/rain.bmp"); -pub static TORNADO: &'static [u8] = include_bytes!("../../assets/rain.bmp"); +pub static MIST: &'static [u8] = include_bytes!("../../assets/fog.bmp"); +pub static SMOKE: &'static [u8] = include_bytes!("../../assets/thick-fog.bmp"); +pub static HAZE: &'static [u8] = include_bytes!("../../assets/fog.bmp"); +pub static SANDDUST: &'static [u8] = include_bytes!("../../assets/thick-fog.bmp"); +pub static FOG: &'static [u8] = include_bytes!("../../assets/fog.bmp"); +pub static SAND: &'static [u8] = include_bytes!("../../assets/thick-fog.bmp"); +pub static DUST: &'static [u8] = include_bytes!("../../assets/thick-fog.bmp"); +pub static ASH: &'static [u8] = include_bytes!("../../assets/thick-fog.bmp"); +pub static SQUALL: &'static [u8] = include_bytes!("../../assets/wind.bmp"); +pub static TORNADO: &'static [u8] = include_bytes!("../../assets/wind.bmp"); pub static CLEAR: &'static [u8] = include_bytes!("../../assets/sunny.bmp"); pub static CLOUDS: &'static [u8] = include_bytes!("../../assets/cloudy.bmp");