Skip to content

Commit 135ec75

Browse files
committed
Add missing glyphs used by client apps
1 parent a132b05 commit 135ec75

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

ledger_device_sdk/src/ui/bagls.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ pub static LEFT_S_ARROW: Icon = LEFT_ARROW.shift_h(4);
107107
pub static RIGHT_S_ARROW: Icon = RIGHT_ARROW.shift_h(-4);
108108
pub static UP_S_ARROW: Icon = UP_ARROW.shift_v(-4);
109109

110-
pub static BACK_ICON: Icon = Icon::from(&bitmaps::BACK);
110+
//pub static BACK_ICON: Icon = Icon::from(&bitmaps::BACK);
111111
pub static BACK_X_ICON: Icon = Icon::from(&bitmaps::BACK_X);
112112
pub static COGGLE_ICON: Icon = Icon::from(&bitmaps::COGGLE);
113113
pub static PROCESSING_ICON: Icon = Icon::from(&bitmaps::PROCESSING);

ledger_device_sdk/src/ui/bitmaps.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ pub static CROSSMARK: Glyph = Glyph {
145145
height: ledger_secure_sdk_sys::GLYPH_icon_crossmark_HEIGHT,
146146
inverted: false,
147147
};
148+
pub static CROSS: Glyph = Glyph {
149+
bitmap: unsafe { &C_icon_crossmark_bitmap },
150+
width: ledger_secure_sdk_sys::GLYPH_icon_crossmark_WIDTH,
151+
height: ledger_secure_sdk_sys::GLYPH_icon_crossmark_HEIGHT,
152+
inverted: false,
153+
};
148154
extern "C" {
149155
/// The bitmap for the dashboard icon.
150156
pub static C_icon_dashboard_bitmap: [u8; 25];
@@ -195,6 +201,12 @@ pub static VALIDATE_14: Glyph = Glyph {
195201
height: ledger_secure_sdk_sys::GLYPH_icon_validate_14_HEIGHT,
196202
inverted: false,
197203
};
204+
pub static CHECKMARK: Glyph = Glyph {
205+
bitmap: unsafe { &C_icon_validate_14_bitmap },
206+
width: ledger_secure_sdk_sys::GLYPH_icon_validate_14_WIDTH,
207+
height: ledger_secure_sdk_sys::GLYPH_icon_validate_14_HEIGHT,
208+
inverted: false,
209+
};
198210
extern "C" {
199211
/// The bitmap for the warning icon.
200212
pub static C_icon_warning_bitmap: [u8; 25];

0 commit comments

Comments
 (0)