Commit Graph

95 Commits (32fe5d20af0bed268c4991f6095f25ee54bf82cf)

Author SHA1 Message Date
Pavol Rusnak 0ab0f9e418
unix: refactor T1 touch events to behave similarly to T2 touch events
6 years ago
Pavol Rusnak 2a06ff4986
embed/firmware: add T1 display support, apply T1 fixes
6 years ago
Pavol Rusnak 72d1c457c2
embed/extmod/modtrezorui: fix minor issue in display_print
6 years ago
Pavol Rusnak 108d84051e
embed/extmod/modtrezorui: add more T1/T2 ifdefs to display functions
6 years ago
Pavol Rusnak fb816bd2de
embed/extmod/modtrezorui: properly set backlight and bpp for T1 display
6 years ago
Pavol Rusnak 7880b67451
embed/extmod/modtrezorui: display code reorg/cleanup
6 years ago
Pavol Rusnak 4a76756b75
embed/extmod/modtrezorui: use software renderer
6 years ago
Pavol Rusnak 8874925fb8
unix: support backgrounds for models T and 1
6 years ago
Pavol Rusnak f23f751ab0
extmod/modtrezorui: prepare display UI for model change
6 years ago
Pavol Rusnak e821fd4358
emulator: rename TREZOR_NOUI macro to TREZOR_EMULATOR_NOUI
6 years ago
Pavol Rusnak e3607156d8
embed: make model and emulator orthogonal, update macros to match this logic
6 years ago
Pavol Rusnak 6801b61514
embed/extmod/modtrezorui: remove FONT_PY_TO_C/FONT_C_TO_PY, use (signed) int globally for font id
6 years ago
Pavol Rusnak 3a2c1eecdb
embed/extmod/modtrezorui: add MONO_BOLD font
6 years ago
Pavol Rusnak e3d18ecb47
embed: refactor display_identify into a "getter" function
6 years ago
Pavol Rusnak 3022cd50c8
embed: use runtime detection of connected display controller
6 years ago
Pavol Rusnak 7b8266221d
embed: use static where appropriate in display-stm32.h
6 years ago
Pavol Rusnak 68ef9b9322
embed: add comment about why first value of display_id is discarded
6 years ago
Pavol Rusnak bc5dba751a
embed: refactor display_identify in display-stm32
6 years ago
mcudev c0b5d33743 display_identify: improve identification of ILI9341
6 years ago
Pavol Rusnak 4ebd7d2ad8
embed/extmod/modtrezorui: fix typo in display-stm32.h
6 years ago
Pavol Rusnak f1dc43f951
embed: don't sync in display_refresh when using GC9307
6 years ago
Pavol Rusnak e7a74ccfee
embed: add support for GC9307 display driver
6 years ago
Pavol Rusnak f4252d755c
embed: introduce display_identify
6 years ago
Pavol Rusnak 32fbc69c30
embed: refactor BUFFER_OFFSET modification in display_set_orientation
6 years ago
Pavol Rusnak fecc6e53a0
tools: update tools to generate clang-format compatible output
6 years ago
Pavol Rusnak 657de0274d
embed/unix: save only cropped part of the screenshot
6 years ago
Pavol Rusnak 35dcd917dd
embed/unix: save screenshot on "P" press in emulator
6 years ago
Jan Pochyla 7630201a57 debug: do not rely on mp_optimise_value
6 years ago
Jan Pochyla 2603c477c5 embed/extmod/modtrezorui: distinguish font ids from colors
6 years ago
Jan Pochyla 6ceb3f2770 embed/extmod/modtrezorui: text functions return width
6 years ago
Pavol Rusnak 55f3edebda
embed/extmod/modtrezorui: allow software renderer (but still prefer accelerated ones)
7 years ago
Jochen Hoenicke 5fc368e330 display: show qr-code correctly (was mirrored)
7 years ago
Pavol Rusnak 611d374bbd
embed: rename TREZOR_STM32/UNIX to TREZOR_MODEL_T/EMU, introduce trezor.utils.model()
7 years ago
Pavol Rusnak c1f097f2b4
embed/extmod/modtrezorui: introduce frame numbering to display.save
7 years ago
Pavol Rusnak 081dcdd98f
embed/unix: resize emulator window if no background image found
7 years ago
Pavol Rusnak 14b0d4439a
embed: add GPLv3 source code headers
7 years ago
Pavol Rusnak 2bb9d80c18
embed/unix: implement nice background into emulator
7 years ago
Pavol Rusnak 64f7089d45
embed/extmod/modtrezorui: implement proper backlight
7 years ago
Pavol Rusnak 3eab20e278
embed: refactor MIN/MAX macros in common.h
7 years ago
Pavol Rusnak d5ab82ae2b
embed/extmod/modtrezorui: refactor DISPLAY_OFFSET
7 years ago
Pavol Rusnak 30396f9cf0
embed/extmod/modtrezorui: refactor BUFFER_OFFSET and PIXELWINDOW structures
7 years ago
Pavol Rusnak e264090678
embed/extmod/modtrezorui: refactor DATA into DATA and PIXELDATA in display
7 years ago
Pavol Rusnak 77ea31aa8a
embed/extmod/modtrezorui: revert NO_HINT change
7 years ago
Pavol Rusnak 329b7d1488
embed/extmod/modtrezorui: regenerate fonts with NO_HINTING, update rendering to subpixel precision
7 years ago
Pavol Rusnak a25af7d22a
embed/extmod/modtrezorui: refactor text bar prefill into from display.c into extmod
7 years ago
Pavol Rusnak 94fc0f7ac0
extmod: if debug build is used, disable LoadDevice, wipe storage on start, draw red square in corner
7 years ago
Pavol Rusnak 2f567ee822
bootloader: rework UI
7 years ago
Pavol Rusnak 94588dd588
modtrezorui: introduce TREZOR_FONT_PREFILL, set it to 0 in bootloader
7 years ago
Pavol Rusnak 4b54bfbbf2
modtrezorui: change loader size to 120x120
7 years ago
Pavol Rusnak 63e999ab84
trezor.ui: introduced minwidth to display.text functions; more optimizations
7 years ago