1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-16 17:42:02 +00:00

minor design changes in ui-mockups of bootloader

This commit is contained in:
chren 2016-10-05 15:44:23 +02:00
parent a536e2d6a5
commit 5cbb1ff892
8 changed files with 17 additions and 17 deletions

BIN
assets/trezor_logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

@ -6,10 +6,10 @@ from trezor import ui, res
ui.display.backlight(255)
image = res.load('./res/sl_logo.toif')
image = res.load('./res/monero_logo.toif')
ui.display.image(60, 20, image)
ui.display.text_center(120, 174, "SatoshiLabs firmware", 1, ui.WHITE, ui.BLACK)
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)
while True:

View File

@ -21,13 +21,13 @@ CANCEL_BUTTON_ACTIVE = {
ui.display.backlight(255)
# background frame
# ui.display.bar(0, 10, 240, 240 - 50, ui.LIGHT_RED)
# ui.display.bar(3, 3, 234, 240 - 54, ui.BLACK)
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.LIGHT_RED, ui.BLACK, 4)
ui.display.bar(0, 10, 240, 20, ui.LIGHT_RED)
ui.display.text(10, 23, 'Unsigned firmware!', ui.BOLD, ui.WHITE, ui.LIGHT_RED)
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)
# content
ui.display.text(10, 60, 'Check your fingeprint', ui.NORMAL, ui.WHITE, ui.BLACK)

View File

@ -20,12 +20,15 @@ DEFAULT_BUTTON_ACTIVE = {
ui.display.backlight(255)
# 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.text(10, 23, 'Install failed', ui.BOLD, ui.WHITE, ui.LIGHT_RED)
# background frame
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, 'Install failed', ui.BOLD, ui.WHITE, ui.ORANGE)
# content
# content
ui.display.text(10, 53, 'Some error happend', ui.NORMAL, ui.WHITE, ui.BLACK)
ui.display.text(10, 79, 'Sorry, try again maybe?', ui.NORMAL, ui.WHITE, ui.BLACK)

View File

@ -38,11 +38,8 @@ ui.display.bar(0, 10, 240, 20, ui.ORANGE)
ui.display.text(10, 23, 'Install new firmware', ui.BOLD, ui.WHITE, ui.ORANGE)
# content
ui.display.text(10, 53, 'vendor:', ui.BOLD, ui.GREY, ui.BLACK)
ui.display.text(85, 53, 'Monero', ui.NORMAL, ui.WHITE, ui.BLACK)
ui.display.text(10, 76, 'version:', ui.BOLD, ui.GREY, ui.BLACK)
ui.display.text(85, 76, '0.1.1', ui.NORMAL, ui.WHITE, ui.BLACK)
ui.display.text(10, 53, 'Monero v.1.1', ui.NORMAL, ui.WHITE, ui.BLACK)
ui.display.text(10, 76, 'Check fingerprint:', ui.BOLD, ui.GREY, ui.BLACK)
# fingerprint box
ui.display.bar(10, 82, 220, 102, ui.DARK_GREY)

Binary file not shown.

Binary file not shown.

BIN
tools/trezor_logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB