mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-12 18:49:07 +00:00
change backlight to white and seed mockup
This commit is contained in:
parent
5b6ab9ca96
commit
bed2d4d50e
@ -20,6 +20,18 @@ def layout_seed(initialize_msg=None):
|
||||
# header title
|
||||
ui.display.text(10, 30, 'Write down your seed', ui.BOLD, ui.LIGHT_GREEN, ui.BLACK)
|
||||
|
||||
ui.display.text(10, 60, '1.', ui.BOLD, ui.LIGHT_GREEN, ui.BLACK)
|
||||
ui.display.text(20, 60, 'auto', ui.BOLD, ui.WHITE, ui.BLACK)
|
||||
|
||||
ui.display.text(10, 90, '2.', ui.BOLD, ui.LIGHT_GREEN, ui.BLACK)
|
||||
ui.display.text(20, 90, 'model', ui.BOLD, ui.WHITE, ui.BLACK)
|
||||
|
||||
ui.display.text(10, 120, '3.', ui.BOLD, ui.LIGHT_GREEN, ui.BLACK)
|
||||
ui.display.text(20, 120, 'rifle', ui.BOLD, ui.WHITE, ui.BLACK)
|
||||
|
||||
ui.display.text(10, 150, '4.', ui.BOLD, ui.LIGHT_GREEN, ui.BLACK)
|
||||
ui.display.text(20, 150, 'digital', ui.BOLD, ui.WHITE, ui.BLACK)
|
||||
|
||||
yield loop.Wait([dispatcher.dispatch(),
|
||||
swipe_to_rotate(),
|
||||
animate_logo()])
|
||||
|
@ -15,11 +15,14 @@ management.boot()
|
||||
wallet.boot()
|
||||
seed.boot()
|
||||
|
||||
#change backlight to white for better visibility
|
||||
trezor.ui.display.backlight(255)
|
||||
|
||||
# just a demo to show how to register USB ifaces
|
||||
msg.setup([(1, 0xF53C), (2, 0xF1D0)])
|
||||
|
||||
# Load default homescreen
|
||||
from apps.homescreen.layout_homescreen import layout_homescreen
|
||||
from apps.seed.layout_seed import layout_seed
|
||||
|
||||
# Run main even loop and specify, which screen is default
|
||||
trezor.main.run(main_layout=layout_homescreen)
|
||||
trezor.main.run(main_layout=layout_seed)
|
||||
|
Loading…
Reference in New Issue
Block a user