Commit Graph

38 Commits (b145f8f309d5fe6fc89d0c39f4abda9c50516f6b)

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