parent
5521f90157
commit
de383f2a8e
@ -1,11 +1,18 @@
|
||||
use crate::ui::{
|
||||
component::{Component, Event, EventCtx},
|
||||
event::TouchEvent,
|
||||
flow::base::SwipeDirection,
|
||||
geometry::{Point, Rect},
|
||||
shape::Renderer,
|
||||
};
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
pub enum SwipeDirection {
|
||||
Up,
|
||||
Down,
|
||||
Left,
|
||||
Right,
|
||||
}
|
||||
|
||||
/// Copy of `model_tt/component/swipe.rs` but without the backlight handling.
|
||||
pub struct Swipe {
|
||||
pub area: Rect,
|
@ -1,7 +1,7 @@
|
||||
pub mod get_address;
|
||||
pub mod confirm_reset_device;
|
||||
pub mod create_backup;
|
||||
pub mod get_address;
|
||||
|
||||
pub use get_address::GetAddress;
|
||||
pub use confirm_reset_device::ConfirmResetDevice;
|
||||
pub use create_backup::CreateBackup;
|
||||
pub use get_address::GetAddress;
|
||||
|
Loading…
Reference in new issue