Commit Graph

52 Commits

Author SHA1 Message Date
Pavol Rusnak 611d374bbd
embed: rename TREZOR_STM32/UNIX to TREZOR_MODEL_T/EMU, introduce trezor.utils.model() 2018-03-04 12:59:16 +01:00
Pavol Rusnak c937d73217
src: minor visual nits 2018-03-01 01:13:26 +01:00
Jan Pochyla 0c42976e91 src/trezor/ui: fix default parameters for header 2018-02-28 01:49:06 +01:00
Peter Jensen e43ce25611 src/trezor/ui/style: update resources and icons in dialogs 2018-02-27 23:52:49 +01:00
Pavol Rusnak b97e5b7a55
src/trezor/ui: use ICON_DEFAULT by default, not ICON_RESET 2018-02-26 23:00:50 +01:00
Jan Pochyla 54128b7568 src/apps/common: use ui.layout, clear display when layout starts 2018-02-26 18:40:44 +01:00
Pavol Rusnak d9324f3e57
src/trezor/ui: split ui.SCREEN into ui.WIDTH and ui.HEIGHT 2018-02-22 16:44:46 +01:00
Jan Pochyla 0592cfe356 src/apps/homescreen: rework backlight animations 2018-02-19 16:51:59 +01:00
Jan Pochyla f20ce1fcc9 ui: add click helper 2018-02-05 13:49:02 +01:00
Peter Jensen fac8932a85 ui/style: replace success icon in loader 2018-02-02 16:27:04 +01:00
Peter Jensen b64be539d4 apps/managment/wipe: style btns and elements 2018-02-02 16:27:04 +01:00
Jan Pochyla 898b33cffb ui: speed up backlight transitions 2018-01-30 18:04:01 +01:00
Jan Pochyla dbed5eade9 ui: add grid function 2018-01-16 15:46:32 +01:00
Peter Jensen ed9e63142d ui: request_words, keyboard ui 2018-01-16 15:46:32 +01:00
Pavol Rusnak 4584861385
trezor.ui: introduce ui.SIZE 2017-12-16 14:50:28 +01:00
Jan Pochyla 3ea5b9c151 trezor/ui: close backlight slider properly 2017-10-10 15:35:01 +02:00
Jan Pochyla 8ec8615e89 trezor/ui: make layout crossfade faster 2017-10-09 15:34:55 +02:00
Jan Pochyla 808317424d use trezor.ui.{BG,FG} 2017-09-26 12:05:26 +02:00
Jan Pochyla df995eae49 trezor/ui: add experimental layout decorator 2017-09-26 12:05:26 +02:00
Jan Pochyla f2e53ab2eb trezor/ui: extract styles 2017-09-26 12:05:26 +02:00
Jan Pochyla 49cc4651c2 bunch of api cleanups 2017-09-19 23:47:35 +02:00
Jan Pochyla 803c47dca8 extmod: use lowercase names 2017-06-14 18:51:55 +02:00
Pavol Rusnak 73b2ea6c85
travis: add make style (using flake8) 2017-06-13 19:35:34 +02:00
Pavol Rusnak 845a3a7e0d
tests: add partial pylint support 2017-06-07 19:06:26 +02:00
Pavol Rusnak 4d4364f0b5
TrezorUi -> TrezorUI 2017-05-15 18:12:05 +02:00
Peter Jensen 3daa18a5f1 trezor.ui: fading on swipe up 2017-03-30 17:35:26 +02:00
Peter Jensen 36637c23f6 trezor.ui: remove PM colors and other visuals changes 2017-03-27 21:36:17 +02:00
Peter Jensen 8d4cd85659 minor design changes 2017-03-20 21:41:06 +01:00
Jan Pochyla 910033d71c trezor.ui: add Widget 2017-02-08 16:21:32 +01:00
Jan Pochyla 5173a87f3e trezor.loop: rewrite for utimeq, document
- faster, consumes less memory
- untangle loop and ui.refresh

TODO: msg.select could fill a pre-allocated list/bytearray just like utimeq.pop does
TOOD: we could move to a readyness-based async model and let the consumers readinto() the messages right into the target buffers, to avoid allocating tuples inside msg.select()
2017-01-02 15:45:56 +01:00
Jan Pochyla ad2955aaab ui: code style, make header icon optional 2016-10-20 15:14:40 +02:00
Pavol Rusnak ad6c274e07
modtrezorui: loader icon is now 64x64; reorganize icons 2016-10-10 14:51:52 +02:00
slush0 ac726746b9 Changed dimming constants (tested on hw) 2016-10-08 12:06:56 +02:00
slush0 cf38b58a73 Reworked homescreen (no blinking, only diming)
Added ui.alert()
2016-10-08 11:47:28 +02:00
chren 78efd4f2e0 minor color changes in pin dialog 2016-10-06 17:59:46 +02:00
chren 5a20a48745 added ui header and icons 2016-10-06 16:17:11 +02:00
Pavol Rusnak 7dc53219d2
extract common bootloader stuff into bl_common.py 2016-10-05 21:09:45 +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
Jan Pochyla c952500552
fix ui.rotate_coords, remove pulse_animation 2016-09-27 17:26:18 +02:00
chren 4d672fee28
added some backgrounds and change color vars 2016-09-27 17:26:15 +02:00
Jan Pochyla 312859ba71
add experimental animation with `async for` 2016-09-27 17:26:03 +02:00
chren 53a6132ed8
tests with UI and minor changes in scroll component 2016-09-27 17:25:59 +02:00
chren 16f81c3264
added dummy scroll down icon with animation 2016-09-27 17:25:59 +02:00
chren 9ca6d61bcc
minor design changes in colors, pin and white border 2016-09-27 17:25:52 +02:00
Pavol Rusnak 8b27cc3b71
trezor.ui.display.backlight works now 2016-09-27 17:25:51 +02:00
Pavol Rusnak 0f24eb2e0e
use python implementation for backlight (for now) 2016-09-27 17:25:50 +02:00
Jan Pochyla 6a647b124d
add management app skeleton and ConfirmDialog
We might rewrite PinDialog as a content for ConfirmDialog in the
future. Also, I'm beginning to hit memory issues on a 64-bit system.
2016-09-27 17:25:47 +02:00
Jan Pochyla 3677b8142b
add touch event rotation, msg dispatcher, wallet app 2016-09-27 17:25:44 +02:00
Pavol Rusnak 627f547fcb
update docu 2016-09-27 17:24:20 +02:00