1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-25 15:58:08 +00:00
Commit Graph

38 Commits

Author SHA1 Message Date
Pavol Rusnak
3067bfa003
modtrezorui: add yoffset parameter to display.loader 2016-10-18 16:27:13 +02:00
Pavol Rusnak
f16d730c58
modtrezorui: display.raw data parameter is now optional 2016-10-14 14:52:36 +02:00
Pavol Rusnak
037df3357c
modtrezorui: functions can draw off-canvas now and respect drawing offset 2016-10-13 18:16:11 +02:00
Pavol Rusnak
35beedfcbc
modtrezorui: add display.offset() function 2016-10-12 18:58:18 +02:00
Pavol Rusnak
ad6c274e07
modtrezorui: loader icon is now 64x64; reorganize icons 2016-10-10 14:51:52 +02:00
Pavol Rusnak
4023b83feb
use mp_raise_ValueError and mp_raise_TypeError functions 2016-10-07 12:09:05 +02:00
Pavol Rusnak
a654b4c17d
stmhal: fix display_raw 2016-10-06 16:56:38 +02:00
Pavol Rusnak
846846561c
add possibility to save screen to png using ui.display.save() (unix port only) 2016-10-06 00:02:46 +02:00
Pavol Rusnak
c5897e71ad
split extract bar_radius into a separate function 2016-10-05 20:30:53 +02:00
Pavol Rusnak
27fb301b22
validate mp_buffer_info_t usage for cases where len==0 2016-10-04 19:22:48 +02:00
Pavol Rusnak
e361eb157d
move text_center and text_right to lower layer, compute text length if not provided 2016-10-04 00:21:06 +02:00
Pavol Rusnak
d7398619e1
introduce trezor.ui.display.refresh 2016-10-03 11:52:19 +02:00
Pavol Rusnak
281070492d
fix bootloader, extract FONT_* constants 2016-09-28 18:21:29 +02:00
Pavol Rusnak
ed975398d9
move ui.clear into ui.display.clear 2016-09-28 17:00:27 +02:00
Pavol Rusnak
0d3facf99e
minor changes to display module 2016-09-27 17:26:09 +02:00
Pavol Rusnak
8f80749870
update docu strings in native code 2016-09-27 17:26:09 +02:00
Pavol Rusnak
a768d32ff9
display.bar now can set roundness 2016-09-27 17:25:59 +02:00
Pavol Rusnak
9f40362482
remove homebrew docu generator, use docstring syntax 2016-09-27 17:25:50 +02:00
Pavol Rusnak
b34b8e6959
change license to TREZOR License 2016-09-27 17:25:39 +02:00
Pavol Rusnak
171a7b3795
display.orientation() and display.backlight() now return current value 2016-09-27 17:24:19 +02:00
Pavol Rusnak
9222b77a03
improve inflate code 2016-09-27 17:24:17 +02:00
Pavol Rusnak
406f0c6783
move unpack of icon to display_loader() 2016-09-27 17:24:15 +02:00
Pavol Rusnak
85d068f03f
reorganize modtrezorui sources 2016-09-27 17:24:14 +02:00
Pavol Rusnak
7fb1d7247c
remove self from documentation where it should not be 2016-09-27 17:24:11 +02:00
Pavol Rusnak
c5b5955539
add more docu 2016-09-27 17:24:10 +02:00
Pavol Rusnak
3d8f8a659a
rework documentation, proof of concept api docu generator 2016-09-27 17:24:10 +02:00
Pavol Rusnak
b0a6b3fe15
implement bar with rounder corners 2016-09-27 17:24:08 +02:00
Pavol Rusnak
d2f65d67cd
rename buffer variables, add const where possible 2016-09-27 17:24:07 +02:00
Pavol Rusnak
588be646c0
move text_center, text_right methods into display class 2016-09-27 17:24:07 +02:00
Pavol Rusnak
d746c79fb8
add display.text_width 2016-09-27 17:24:07 +02:00
Pavol Rusnak
5c6a7c91f2
iconfgcolor in display.loader works now 2016-09-27 17:24:05 +02:00
Pavol Rusnak
0e18fcce96
add iconcolor to display.loader (not implemented yet) 2016-09-27 17:24:05 +02:00
Pavol Rusnak
c91bca8a8a
improve display.loader 2016-09-27 17:24:04 +02:00
Pavol Rusnak
244002a4a8
fix last commit 2016-09-27 17:24:04 +02:00
Pavol Rusnak
bc7cb88cdf
use little endian for toif, fix random 2016-09-27 17:23:22 +02:00
Pavol Rusnak
b41c1c3e4d
add data size to toi format header 2016-09-27 17:23:18 +02:00
Pavol Rusnak
a230d9d294
hashes and pbkdf2 now have api of hashlib 2016-09-27 17:22:53 +02:00
Pavol Rusnak
8b4280b296
remove trezor-crypto, use mbedtls, use lowercase for trezor modules 2016-09-27 17:22:52 +02:00