diff --git a/core/embed/rust/src/ui/layout_eckhart/bootloader/bld_actionbar.rs b/core/embed/rust/src/ui/layout_eckhart/bootloader/bld_actionbar.rs new file mode 100644 index 0000000000..087a46bac5 --- /dev/null +++ b/core/embed/rust/src/ui/layout_eckhart/bootloader/bld_actionbar.rs @@ -0,0 +1,116 @@ +use crate::ui::{ + component::{Component, Event, EventCtx}, + geometry::{Insets, Offset, Rect}, + shape::Renderer, +}; + +use super::super::component::{Button, ButtonMsg}; + +/// Component for control buttons in the bottom of the screen. Reduced variant +/// for Bootloader UI. +pub struct BldActionBar { + /// Behavior based on `Mode` + mode: Mode, + /// Right or single button. + right_button: Button, + /// Optional left button. + left_button: Option