mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-25 16:08:32 +00:00
fixup! WIP - replace painter by jpeg and bar components
This commit is contained in:
parent
a40eec61cb
commit
fed5191e18
@ -1,5 +1,4 @@
|
|||||||
use crate::error::Error;
|
use crate::error::Error;
|
||||||
#[cfg(feature = "jpeg")]
|
|
||||||
use crate::micropython::{buffer::get_buffer, obj::Obj};
|
use crate::micropython::{buffer::get_buffer, obj::Obj};
|
||||||
|
|
||||||
use crate::ui::{
|
use crate::ui::{
|
||||||
|
@ -6,7 +6,7 @@ pub mod border;
|
|||||||
pub mod connect;
|
pub mod connect;
|
||||||
pub mod empty;
|
pub mod empty;
|
||||||
pub mod image;
|
pub mod image;
|
||||||
#[cfg(feature = "jpeg")]
|
#[cfg(all(feature = "jpeg", feature = "micropython"))]
|
||||||
pub mod jpeg;
|
pub mod jpeg;
|
||||||
pub mod label;
|
pub mod label;
|
||||||
pub mod map;
|
pub mod map;
|
||||||
@ -23,7 +23,7 @@ pub use bar::Bar;
|
|||||||
pub use base::{Child, Component, ComponentExt, Event, EventCtx, Never, Root, TimerToken};
|
pub use base::{Child, Component, ComponentExt, Event, EventCtx, Never, Root, TimerToken};
|
||||||
pub use border::Border;
|
pub use border::Border;
|
||||||
pub use empty::Empty;
|
pub use empty::Empty;
|
||||||
#[cfg(feature = "jpeg")]
|
#[cfg(all(feature = "jpeg", feature = "micropython"))]
|
||||||
pub use jpeg::Jpeg;
|
pub use jpeg::Jpeg;
|
||||||
pub use label::Label;
|
pub use label::Label;
|
||||||
pub use map::MsgMap;
|
pub use map::MsgMap;
|
||||||
|
Loading…
Reference in New Issue
Block a user