From a102888233afabcd6327d9966a8b33127d1a3ec7 Mon Sep 17 00:00:00 2001 From: slush0 Date: Thu, 28 Apr 2016 04:57:08 +0200 Subject: [PATCH] Event loop moved to loop.py Removed unused layout demo --- src/layout.py | 10 ---------- src/lib/uasyncio/{core.py => loop.py} | 0 src/playground/trezor.toig | Bin 0 -> 1395 bytes 3 files changed, 10 deletions(-) delete mode 100644 src/layout.py rename src/lib/uasyncio/{core.py => loop.py} (100%) create mode 100644 src/playground/trezor.toig diff --git a/src/layout.py b/src/layout.py deleted file mode 100644 index 34f490339..000000000 --- a/src/layout.py +++ /dev/null @@ -1,10 +0,0 @@ -from trezor import ui - -def show_send(address, amount, currency='BTC'): - ui.display.bar(0, 0, 240, 40, ui.GREEN) - ui.display.bar(0, 40, 240, 200, ui.WHITE) - ui.display.text(10, 28, 'Sending', ui.BOLD, ui.WHITE, ui.GREEN) - ui.display.text(10, 80, '%f %s' % (amount, currency), ui.BOLD, ui.BLACK, ui.WHITE) - ui.display.text(10, 110, 'to this address:', ui.NORMAL, ui.BLACK, ui.WHITE) - ui.display.text(10, 140, address[:18], ui.MONO, ui.BLACK, ui.WHITE) - ui.display.text(10, 160, address[18:], ui.MONO, ui.BLACK, ui.WHITE) diff --git a/src/lib/uasyncio/core.py b/src/lib/uasyncio/loop.py similarity index 100% rename from src/lib/uasyncio/core.py rename to src/lib/uasyncio/loop.py diff --git a/src/playground/trezor.toig b/src/playground/trezor.toig new file mode 100644 index 0000000000000000000000000000000000000000..8ab461e3b09a41c989b33ebe5850e64a7ba0a203 GIT binary patch literal 1395 zcmV-(1&sPsPf2I+0Pp~31pol;(o1X`MHmP0vEw|NCb7!}p&q&l5?m_9NN__WmtHtD zsd$`#_(G*hNXZGf#T+Q&lyE}`NCZd-AvG08R8gcN#KT~#ssx9CD)o}zyWd8wzW>3V*_oZ+&dkRcg+ifFC=?2XLb+Ena_QR6_pfU)s}nzh$UnIl z)x`T?=cm}%R1wrPGBL4bfMb9Y*TI>39PS$QW*?uO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