Commit Graph

73 Commits (90b2f3a3e0b88760d91606dbdef4a203a51fe093)

Author SHA1 Message Date
Pavol Rusnak 0012883984
trezor.ui.display: fix orientation/backlight calls when NOUI=1 is used
8 years ago
Pavol Rusnak 3067bfa003
modtrezorui: add yoffset parameter to display.loader
8 years ago
Pavol Rusnak fffe930d8c
modtrezorui: rename fonts
8 years ago
Pavol Rusnak ce638fe94a
modutrezorui: enable LCD_FMARK/PD12 handling on stmhal
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 3e9b6c09b0
stmhal: simplify init of display
8 years ago
Pavol Rusnak 8b22a38bce
new init sequence for display
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 157b12374f
make loader smaller
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 a36616d8e8
allow building unix port with no UI (TREZORUI_NOUI=1)
8 years ago
Pavol Rusnak 18c2066d83
move timer1_get_source_freq to display-stmhal.h
8 years ago
Pavol Rusnak 31a937de1b
bootloader ui (work in progress)
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 19bb7fc1e3
use display_clear where possible
8 years ago
Pavol Rusnak ed975398d9
move ui.clear into ui.display.clear
8 years ago
Jochen Hoenicke 8d3aed7ec0
Tweaked Gamma values
8 years ago
Pavol Rusnak 3a67b4d6d2
enable hw reset of display
8 years ago
Jan Pochyla b49ae3deee
do not update display after each letter
8 years ago
Pavol Rusnak 0d3facf99e
minor changes to display module
8 years ago
Pavol Rusnak ddaa1b1502
adapt display driver for ST7789V
8 years ago
Pavol Rusnak 8f80749870
update docu strings in native code
8 years ago
Pavol Rusnak e577e764fc
modules do not have .name field anymore
8 years ago
Pavol Rusnak 754350df9e
fix discrepancy between msg_poll_ui_event and trezorui_poll_sdl_event
8 years ago
Pavol Rusnak f2c331d783
update submodule, start bootloader work
8 years ago
Pavol Rusnak a768d32ff9
display.bar now can set roundness
8 years ago
Pavol Rusnak 5b6ab9ca96
small fixes; res contains just toig/toif files (png are in /assets)
8 years ago
chren 9ca6d61bcc
minor design changes in colors, pin and white border
8 years ago
Pavol Rusnak daa1df9f0f
make backlight code cleaner
8 years ago
Pavol Rusnak 8b27cc3b71
trezor.ui.display.backlight works now
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 dbc57b16d4
simulator border now reflects backlight value
8 years ago
Pavol Rusnak 171a7b3795
display.orientation() and display.backlight() now return current value
8 years ago
Pavol Rusnak 5968eb3f5f
add build_cross and build_frozen make targets
8 years ago
Pavol Rusnak 18abed64f0
fix black as alpha in ui simulator
8 years ago
Pavol Rusnak 9222b77a03
improve inflate code
8 years ago
Jan Pochyla 2e280ca358
TOUCH_END is uint(4) now
8 years ago
Pavol Rusnak 20e426e846
rename gen_loader.py to loader_gen.py
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 1e1242437c
sram_init -> display_sram_init
8 years ago