mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 23:08:14 +00:00
design changes in bootloader mockups
This commit is contained in:
parent
5cbb1ff892
commit
a47b6ee7bb
BIN
assets/bootloader.png
Normal file
BIN
assets/bootloader.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
@ -20,16 +20,11 @@ DEFAULT_BUTTON_ACTIVE = {
|
||||
|
||||
ui.display.backlight(255)
|
||||
|
||||
# header
|
||||
# ui.display.bar(0, 0, 240, 30, ui.ORANGE, ui.BLACK, 4)
|
||||
# ui.display.bar(0, 10, 240, 20, ui.ORANGE)
|
||||
# ui.display.text(10, 23, 'Bootloader info', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
image = res.load('./res/sl_logo.toif')
|
||||
ui.display.image(60, 10, image)
|
||||
ui.display.image(60, 0, image)
|
||||
|
||||
ui.display.text_center(120, 148, "SatoshiLabs firmware", 1, ui.WHITE, ui.BLACK)
|
||||
ui.display.text_center(120, 171, "v0.1.1", 1, ui.GREY, ui.BLACK)
|
||||
ui.display.text_center(120, 160, "SatoshiLabs firmware", 1, ui.WHITE, ui.BLACK)
|
||||
ui.display.text_center(120, 183, "v0.1.1", 1, ui.GREY, ui.BLACK)
|
||||
|
||||
reboot = button.Button((0, 240 - 48, 240, 48), 'Reboot', normal_style=DEFAULT_BUTTON, active_style=DEFAULT_BUTTON_ACTIVE)
|
||||
reboot.render()
|
||||
|
@ -7,10 +7,10 @@ from trezor import ui, res
|
||||
ui.display.backlight(255)
|
||||
|
||||
image = res.load('./res/monero_logo.toif')
|
||||
ui.display.image(60, 20, image)
|
||||
ui.display.image(60, 32, image)
|
||||
|
||||
ui.display.text_center(120, 174, "MONERO", ui.BOLD, ui.WHITE, ui.BLACK)
|
||||
ui.display.text_center(120, 197, "v0.1.1", 1, ui.GREY, ui.BLACK)
|
||||
ui.display.text_center(120, 192, "MONERO", ui.BOLD, ui.WHITE, ui.BLACK)
|
||||
ui.display.text_center(120, 215, "v0.1.1", 1, ui.GREY, ui.BLACK)
|
||||
|
||||
while True:
|
||||
ui.display.refresh()
|
@ -8,8 +8,8 @@ ui.display.backlight(255)
|
||||
|
||||
image = res.load('../../src/apps/homescreen/res/trezor.toig')
|
||||
ui.display.icon(0, 0, image, ui.WHITE, ui.BLACK)
|
||||
ui.display.bar(0, 175, 240, 48, ui.BLACK)
|
||||
|
||||
ui.display.bar(0, 175, 240, 48, ui.BLACK)
|
||||
|
||||
ui.display.text_center(120, 192 + 32, "Visit TREZOR.io/start", 1, ui.WHITE, ui.BLACK)
|
||||
|
||||
|
@ -25,9 +25,9 @@ ui.display.bar(0, 10, 240, 240 - 50, ui.LIGHT_RED)
|
||||
ui.display.bar(3, 3, 234, 240 - 54, ui.BLACK)
|
||||
|
||||
# header
|
||||
ui.display.bar(0, 0, 240, 30, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 20, ui.ORANGE)
|
||||
ui.display.text(10, 23, 'Unsigned firmware!', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
ui.display.bar(0, 0, 240, 32, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 22, ui.ORANGE)
|
||||
ui.display.text(32, 23, 'Unsigned firmware!', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
# content
|
||||
ui.display.text(10, 60, 'Check your fingeprint', ui.NORMAL, ui.WHITE, ui.BLACK)
|
||||
|
@ -25,8 +25,8 @@ ui.display.bar(0, 10, 240, 240 - 50, ui.LIGHT_RED)
|
||||
ui.display.bar(3, 3, 234, 240 - 54, ui.BLACK)
|
||||
|
||||
# header
|
||||
ui.display.bar(0, 0, 240, 30, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 20, ui.ORANGE)
|
||||
ui.display.bar(0, 0, 240, 32, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 22, ui.ORANGE)
|
||||
ui.display.text(10, 23, 'Install failed', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
# content
|
||||
|
@ -33,8 +33,8 @@ CANCEL_BUTTON_ACTIVE = {
|
||||
ui.display.backlight(255)
|
||||
|
||||
# header
|
||||
ui.display.bar(0, 0, 240, 30, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 20, ui.ORANGE)
|
||||
ui.display.bar(0, 0, 240, 32, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 22, ui.ORANGE)
|
||||
ui.display.text(10, 23, 'Install new firmware', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
# content
|
||||
|
@ -21,8 +21,8 @@ CONFIRM_BUTTON_ACTIVE = {
|
||||
ui.display.backlight(255)
|
||||
|
||||
# header
|
||||
ui.display.bar(0, 0, 240, 30, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 20, ui.ORANGE)
|
||||
ui.display.bar(0, 0, 240, 32, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 22, ui.ORANGE)
|
||||
ui.display.text(10, 23, 'Install new firmware', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
# content
|
||||
|
@ -21,8 +21,8 @@ DEFAULT_BUTTON_ACTIVE = {
|
||||
ui.display.backlight(255)
|
||||
|
||||
# header
|
||||
ui.display.bar(0, 0, 240, 30, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 20, ui.ORANGE)
|
||||
ui.display.bar(0, 0, 240, 32, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 22, ui.ORANGE)
|
||||
ui.display.text(10, 23, 'Install done', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
# content
|
||||
|
@ -8,8 +8,8 @@ ui.display.backlight(255)
|
||||
|
||||
|
||||
# header
|
||||
ui.display.bar(0, 0, 240, 30, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 20, ui.ORANGE)
|
||||
ui.display.bar(0, 0, 240, 32, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 22, ui.ORANGE)
|
||||
ui.display.text(10, 23, 'Installing firmware', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
ui.display.text_center(120, 192 + 32, "In progress ...", 1, ui.WHITE, ui.BLACK)
|
||||
|
@ -37,8 +37,8 @@ ui.display.backlight(255)
|
||||
# ui.display.bar(3, 3, 234, 240 - 54, ui.BLACK)
|
||||
|
||||
# header
|
||||
ui.display.bar(0, 0, 240, 30, ui.LIGHT_RED, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 20, ui.LIGHT_RED)
|
||||
ui.display.bar(0, 0, 240, 32, ui.LIGHT_RED, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 22, ui.LIGHT_RED)
|
||||
ui.display.text(10, 23, 'Install new firmware', ui.BOLD, ui.WHITE, ui.LIGHT_RED)
|
||||
|
||||
# content
|
||||
|
BIN
bootloader/ui-mockup/res/bootloader.toig
Normal file
BIN
bootloader/ui-mockup/res/bootloader.toig
Normal file
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 4.3 KiB |
Loading…
Reference in New Issue
Block a user