diff --git a/assets/gears.png b/assets/gears.png new file mode 100644 index 0000000000..3e2561f48e Binary files /dev/null and b/assets/gears.png differ diff --git a/assets/gears2.png b/assets/gears2.png new file mode 100644 index 0000000000..0145caaca0 Binary files /dev/null and b/assets/gears2.png differ diff --git a/assets/gears3.png b/assets/gears3.png new file mode 100644 index 0000000000..64171af911 Binary files /dev/null and b/assets/gears3.png differ diff --git a/src/apps/playground_chren/layout_loading.py b/src/apps/playground_chren/layout_loading.py new file mode 100644 index 0000000000..d43685d2e0 --- /dev/null +++ b/src/apps/playground_chren/layout_loading.py @@ -0,0 +1,16 @@ +from trezor import ui +from trezor import loop +from trezor import res + +def layout_loading(): + + ui.display.text_center(120, 240 - 18, 'Processing ...', ui.BOLD, ui.WHITE, ui.BLACK) + p = 0 + + def func(foreground): + ui.display.loader(p, ui.YELLOW, 0, res.load('apps/playground_chren/res/gears3.toig'), ui.WHITE) + p = (p + 10) % 1000 + + animation = ui.animate_pulse(func, ui.WHITE, ui.GREY, speed=400000) + + yield from animation diff --git a/src/apps/playground_chren/res/gears3.toig b/src/apps/playground_chren/res/gears3.toig new file mode 100644 index 0000000000..a291cea9b0 Binary files /dev/null and b/src/apps/playground_chren/res/gears3.toig differ