chore(core/rust): regenerate TR's icons based on new designs
[no changelog]
Before Width: | Height: | Size: 154 B After Width: | Height: | Size: 154 B |
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 165 B |
Before Width: | Height: | Size: 133 B After Width: | Height: | Size: 133 B |
BIN
core/assets/model_r/arrow_down.png
Normal file
After Width: | Height: | Size: 158 B |
Before Width: | Height: | Size: 157 B After Width: | Height: | Size: 150 B |
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 152 B |
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 165 B |
BIN
core/assets/model_r/arrow_up.png
Normal file
After Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 123 B After Width: | Height: | Size: 124 B |
Before Width: | Height: | Size: 162 B |
Before Width: | Height: | Size: 166 B |
BIN
core/assets/model_r/warning.png
Normal file
After Width: | Height: | Size: 176 B |
Before Width: | Height: | Size: 178 B |
@ -13,10 +13,7 @@ use crate::{
|
|||||||
};
|
};
|
||||||
use heapless::String;
|
use heapless::String;
|
||||||
|
|
||||||
use super::{
|
use super::component::{ResultScreen, WelcomeScreen};
|
||||||
component::{ResultScreen, WelcomeScreen},
|
|
||||||
theme::ICON_SUCCESS,
|
|
||||||
};
|
|
||||||
|
|
||||||
mod confirm;
|
mod confirm;
|
||||||
mod connect;
|
mod connect;
|
||||||
@ -29,7 +26,7 @@ use confirm::Confirm;
|
|||||||
use connect::Connect;
|
use connect::Connect;
|
||||||
use intro::Intro;
|
use intro::Intro;
|
||||||
use menu::Menu;
|
use menu::Menu;
|
||||||
use theme::{BLD_BG, BLD_FG, ICON_ALERT, ICON_SPINNER, LOGO_EMPTY};
|
use theme::{BLD_BG, BLD_FG, ICON_ALERT, ICON_SPINNER, ICON_SUCCESS, LOGO_EMPTY};
|
||||||
use welcome::Welcome;
|
use welcome::Welcome;
|
||||||
|
|
||||||
pub type BootloaderString = String<128>;
|
pub type BootloaderString = String<128>;
|
||||||
|
@ -12,6 +12,7 @@ include_icon!(LOGO_EMPTY, "model_tr/res/logo_22_33_empty.toif");
|
|||||||
include_icon!(ICON_TRASH, "model_tr/res/trash.toif");
|
include_icon!(ICON_TRASH, "model_tr/res/trash.toif");
|
||||||
include_icon!(ICON_ALERT, "model_tr/res/alert.toif");
|
include_icon!(ICON_ALERT, "model_tr/res/alert.toif");
|
||||||
include_icon!(ICON_SPINNER, "model_tr/res/spinner.toif");
|
include_icon!(ICON_SPINNER, "model_tr/res/spinner.toif");
|
||||||
|
include_icon!(ICON_SUCCESS, "model_tr/res/success.toif");
|
||||||
include_icon!(ICON_REDO, "model_tr/res/redo.toif");
|
include_icon!(ICON_REDO, "model_tr/res/redo.toif");
|
||||||
include_icon!(ICON_EXIT, "model_tr/res/exit.toif");
|
include_icon!(ICON_EXIT, "model_tr/res/exit.toif");
|
||||||
|
|
||||||
|
@ -48,30 +48,34 @@ pub fn textstyle_number_bold_or_mono(num: i32) -> &'static TextStyle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Firmware icons
|
// Firmware icons
|
||||||
include_icon!(ICON_ARM_LEFT, "model_tr/res/arm_left.toif"); // 6*10
|
include_icon!(ICON_ARM_LEFT, "model_tr/res/arm_left.toif"); // 10*6
|
||||||
include_icon!(ICON_ARM_RIGHT, "model_tr/res/arm_right.toif"); // 6*10
|
include_icon!(ICON_ARM_RIGHT, "model_tr/res/arm_right.toif"); // 10*6
|
||||||
include_icon!(
|
include_icon!(ICON_ARROW_LEFT, "model_tr/res/arrow_left.toif"); // 4*7
|
||||||
ICON_ARROW_LEFT,
|
include_icon!(ICON_ARROW_RIGHT, "model_tr/res/arrow_right.toif"); // 4*7
|
||||||
"model_tr/res/arrow_left.toif",
|
|
||||||
empty_right_col = true
|
|
||||||
); // 6*10
|
|
||||||
include_icon!(
|
|
||||||
ICON_ARROW_RIGHT,
|
|
||||||
"model_tr/res/arrow_right.toif",
|
|
||||||
empty_right_col = true
|
|
||||||
); // 6*10
|
|
||||||
include_icon!(ICON_ARROW_RIGHT_FAT, "model_tr/res/arrow_right_fat.toif"); // 4*8
|
include_icon!(ICON_ARROW_RIGHT_FAT, "model_tr/res/arrow_right_fat.toif"); // 4*8
|
||||||
include_icon!(ICON_ARROW_UP, "model_tr/res/arrow_up.toif"); // 10*6
|
include_icon!(
|
||||||
include_icon!(ICON_ARROW_DOWN, "model_tr/res/arrow_down.toif"); // 10*6
|
ICON_ARROW_UP,
|
||||||
|
"model_tr/res/arrow_up.toif",
|
||||||
|
empty_right_col = true
|
||||||
|
); // 8*4
|
||||||
|
include_icon!(
|
||||||
|
ICON_ARROW_DOWN,
|
||||||
|
"model_tr/res/arrow_down.toif",
|
||||||
|
empty_right_col = true
|
||||||
|
); // 8*4
|
||||||
include_icon!(ICON_ARROW_BACK_UP, "model_tr/res/arrow_back_up.toif"); // 8*8
|
include_icon!(ICON_ARROW_BACK_UP, "model_tr/res/arrow_back_up.toif"); // 8*8
|
||||||
include_icon!(ICON_BIN, "model_tr/res/bin.toif"); // 10*10
|
include_icon!(ICON_BIN, "model_tr/res/bin.toif"); // 10*10
|
||||||
include_icon!(
|
include_icon!(
|
||||||
ICON_CANCEL,
|
ICON_CANCEL,
|
||||||
"model_tr/res/cancel.toif",
|
"model_tr/res/cancel.toif",
|
||||||
empty_right_col = true
|
empty_right_col = true
|
||||||
); // 8*8
|
); // 7*7
|
||||||
include_icon!(ICON_DELETE, "model_tr/res/delete.toif"); // 10*7
|
include_icon!(
|
||||||
include_icon!(ICON_DEVICE_NAME, "model_tr/res/device_name.toif");
|
ICON_DELETE,
|
||||||
|
"model_tr/res/delete.toif",
|
||||||
|
empty_right_col = true
|
||||||
|
); // 9*7
|
||||||
|
include_icon!(ICON_DEVICE_NAME, "model_tr/res/device_name.toif"); // 116*18
|
||||||
include_icon!(ICON_EYE, "model_tr/res/eye_round.toif"); // 12*7
|
include_icon!(ICON_EYE, "model_tr/res/eye_round.toif"); // 12*7
|
||||||
include_icon!(ICON_LOCK, "model_tr/res/lock.toif"); // 10*10
|
include_icon!(ICON_LOCK, "model_tr/res/lock.toif"); // 10*10
|
||||||
include_icon!(ICON_LOGO, "model_tr/res/logo_22_33.toif"); // 22*33
|
include_icon!(ICON_LOGO, "model_tr/res/logo_22_33.toif"); // 22*33
|
||||||
@ -82,7 +86,6 @@ include_icon!(
|
|||||||
); // 10*8
|
); // 10*8
|
||||||
include_icon!(ICON_PREV_PAGE, "model_tr/res/prev_page.toif"); // 8*10
|
include_icon!(ICON_PREV_PAGE, "model_tr/res/prev_page.toif"); // 8*10
|
||||||
include_icon!(ICON_SPACE, "model_tr/res/space.toif"); // 12*3
|
include_icon!(ICON_SPACE, "model_tr/res/space.toif"); // 12*3
|
||||||
include_icon!(ICON_SUCCESS, "model_tr/res/success.toif");
|
|
||||||
include_icon!(ICON_TICK, "model_tr/res/tick.toif"); // 8*6
|
include_icon!(ICON_TICK, "model_tr/res/tick.toif"); // 8*6
|
||||||
include_icon!(ICON_TICK_FAT, "model_tr/res/tick_fat.toif"); // 8*6
|
include_icon!(ICON_TICK_FAT, "model_tr/res/tick_fat.toif"); // 8*6
|
||||||
include_icon!(
|
include_icon!(
|
||||||
|