mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 22:38:08 +00:00
refactor(core): move mercury loader to cshape module
[no changelog]
This commit is contained in:
parent
51c1ff728d
commit
f793e6d509
@ -38,7 +38,7 @@ use super::theme::BLACK;
|
||||
use crate::ui::{
|
||||
display::{toif::Toif, LOADER_MAX},
|
||||
geometry::{Alignment, Alignment2D},
|
||||
model_mercury::shapes::{render_loader, LoaderRange},
|
||||
model_mercury::cshape::{render_loader, LoaderRange},
|
||||
shape,
|
||||
shape::render_on_display,
|
||||
};
|
||||
|
@ -7,7 +7,7 @@ use crate::{
|
||||
component::{Component, Event, EventCtx, Pad},
|
||||
display::{self, toif::Icon, Color, LOADER_MAX},
|
||||
geometry::{Alignment2D, Offset, Rect},
|
||||
model_mercury::shapes::{render_loader, LoaderRange},
|
||||
model_mercury::cshape::{render_loader, LoaderRange},
|
||||
shape::{self, Renderer},
|
||||
util::animation_disabled,
|
||||
},
|
||||
|
@ -13,7 +13,7 @@ use crate::{
|
||||
geometry::{Insets, Offset, Rect},
|
||||
model_mercury::{
|
||||
constant,
|
||||
shapes::{render_loader, LoaderRange},
|
||||
cshape::{render_loader, LoaderRange},
|
||||
},
|
||||
shape::Renderer,
|
||||
util::animation_disabled,
|
||||
|
@ -1,3 +1,7 @@
|
||||
mod loader;
|
||||
|
||||
mod unlock_overlay;
|
||||
|
||||
pub use unlock_overlay::UnlockOverlay;
|
||||
|
||||
pub use loader::{render_loader, LoaderRange};
|
||||
|
@ -13,7 +13,6 @@ pub mod flow;
|
||||
#[cfg(feature = "micropython")]
|
||||
pub mod layout;
|
||||
pub mod screens;
|
||||
pub mod shapes;
|
||||
|
||||
pub struct ModelMercuryFeatures;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user