@ -13,6 +13,7 @@ extern "C" fn screen_welcome() {
}
#[no_mangle]
#[cfg(not(feature = "new_rendering"))]
extern "C" fn bld_continue_label(bg_color: cty::uint16_t) {
ModelUI::bld_continue_label(bg_color.into());
@ -169,6 +169,7 @@ impl UIFeaturesBootloader for ModelMercuryFeatures {
show(&mut frame, true);
fn bld_continue_label(bg_color: Color) {
display::text_center(
Point::new(SCREEN.width() / 2, SCREEN.height() - 5),
@ -149,6 +149,7 @@ impl UIFeaturesBootloader for ModelTRFeatures {
Point::new(constant::WIDTH / 2, HEIGHT - 2),
@ -176,6 +176,7 @@ impl UIFeaturesBootloader for ModelTTFeatures {
@ -18,6 +18,7 @@ pub trait UIFeaturesCommon {
pub trait UIFeaturesBootloader {
fn screen_welcome();
fn bld_continue_label(bg_color: Color);
fn screen_install_success(restart_seconds: u8, initial_setup: bool, complete_draw: bool);