mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-05 14:22:33 +00:00

StatusScreen serves to show a result of operation, typically a checkmark with a circle around dismissed by swipe up gesture. PromptScreen serves to confirm action, typically by holding a button. Designs based on Figma. So far without animation.
73 lines
2.0 KiB
Rust
73 lines
2.0 KiB
Rust
#[cfg(feature = "translations")]
|
|
mod address_details;
|
|
pub mod bl_confirm;
|
|
mod button;
|
|
#[cfg(feature = "translations")]
|
|
mod coinjoin_progress;
|
|
mod dialog;
|
|
mod fido;
|
|
mod footer;
|
|
mod vertical_menu;
|
|
#[rustfmt::skip]
|
|
mod fido_icons;
|
|
mod error;
|
|
mod frame;
|
|
#[cfg(feature = "micropython")]
|
|
mod homescreen;
|
|
mod keyboard;
|
|
mod loader;
|
|
#[cfg(feature = "translations")]
|
|
mod number_input;
|
|
#[cfg(feature = "translations")]
|
|
mod page;
|
|
mod progress;
|
|
mod prompt_screen;
|
|
mod result;
|
|
mod scroll;
|
|
mod share_words;
|
|
mod simple_page;
|
|
mod status_screen;
|
|
mod swipe;
|
|
mod welcome_screen;
|
|
|
|
#[cfg(feature = "translations")]
|
|
pub use address_details::AddressDetails;
|
|
pub use button::{
|
|
Button, ButtonContent, ButtonMsg, ButtonStyle, ButtonStyleSheet, CancelConfirmMsg,
|
|
CancelInfoConfirmMsg, IconText,
|
|
};
|
|
#[cfg(feature = "translations")]
|
|
pub use coinjoin_progress::CoinJoinProgress;
|
|
pub use dialog::{Dialog, DialogMsg, IconDialog};
|
|
pub use error::ErrorScreen;
|
|
pub use fido::{FidoConfirm, FidoMsg};
|
|
pub use footer::Footer;
|
|
pub use frame::{Frame, FrameMsg};
|
|
#[cfg(feature = "micropython")]
|
|
pub use homescreen::{check_homescreen_format, Homescreen, HomescreenMsg, Lockscreen};
|
|
pub use keyboard::{
|
|
bip39::Bip39Input,
|
|
mnemonic::{MnemonicInput, MnemonicKeyboard, MnemonicKeyboardMsg},
|
|
passphrase::{PassphraseKeyboard, PassphraseKeyboardMsg},
|
|
pin::{PinKeyboard, PinKeyboardMsg},
|
|
slip39::Slip39Input,
|
|
word_count::{SelectWordCount, SelectWordCountMsg},
|
|
};
|
|
pub use loader::{Loader, LoaderMsg, LoaderStyle, LoaderStyleSheet};
|
|
#[cfg(feature = "translations")]
|
|
pub use number_input::{NumberInputDialog, NumberInputDialogMsg};
|
|
#[cfg(feature = "translations")]
|
|
pub use page::ButtonPage;
|
|
pub use progress::Progress;
|
|
pub use prompt_screen::PromptScreen;
|
|
pub use result::{ResultFooter, ResultScreen, ResultStyle};
|
|
pub use scroll::ScrollBar;
|
|
pub use share_words::ShareWords;
|
|
pub use simple_page::SimplePage;
|
|
pub use status_screen::StatusScreen;
|
|
pub use swipe::{Swipe, SwipeDirection};
|
|
pub use vertical_menu::{VerticalMenu, VerticalMenuChoiceMsg};
|
|
pub use welcome_screen::WelcomeScreen;
|
|
|
|
use super::{constant, theme};
|