summaryrefslogtreecommitdiff
path: root/wasp/apps/fibonacci_clock.py
diff options
context:
space:
mode:
Diffstat (limited to 'wasp/apps/fibonacci_clock.py')
-rw-r--r--wasp/apps/fibonacci_clock.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/wasp/apps/fibonacci_clock.py b/wasp/apps/fibonacci_clock.py
index 7124ebe..3e9fadc 100644
--- a/wasp/apps/fibonacci_clock.py
+++ b/wasp/apps/fibonacci_clock.py
@@ -27,39 +27,15 @@ result by 5 to get the actual number.
"""
import wasp
-import icons
COLORS = [0xffff,0xf800,0x07e0,0x001f] # White, red, green and blue
FIELDS = b'\x05\x03\x02\x01\x01'
MONTH = 'JanFebMarAprMayJunJulAugSepOctNovDec'
-# 2-bit RLE, generated from res/fibo_icon.png, 246 bytes
-icon = (
- b'\x02'
- b'`@'
- b'?\xff\xffk\xd3\x01\xc9\x01@\x1er\x10\xd3\x01\xc9\x01'
- b'r\x10\xd3\x01\xc9\x01r\x10\xd3\x01\xc9\x01r\x10\xd3\x01'
- b'\xc9\x01r\x10\xd3\x01\xc9\x01r\x10\xd3\x01\xc9\x01r\x10'
- b'\xd3\x01\xc9\x01r\x10\xd3\x01\xc9\x01r\x10\xd3\x0br\x10'
- b'\xd3\x01I\x01r\x10\xd3\x01I\x01r\x10\xd3\x01I\x01'
- b'r\x10\xd3\x01I\x01r\x10\xd3\x01I\x01r\x10\xd3\x01'
- b'I\x01r\x10\xd3\x01I\x01r\x10\xd3\x01I\x01r\x10'
- b'\xd3\x01I\x01r.r\x10\xdd\x01r\x10\xdd\x01r\x10'
- b'\xdd\x01r\x10\xdd\x01r\x10\xdd\x01r\x10\xdd\x01r\x10'
- b'\xdd\x01r\x10\xdd\x01r\x10\xdd\x01r\x10\xdd\x01r\x10'
- b'\xdd\x01r\x10\xdd\x01r\x10\xdd\x01r\x10\xdd\x01r\x10'
- b'\xdd\x01r\x10\xdd\x01r\x10\xdd\x01r\x10\xdd\x01r\x10'
- b'\xdd\x01r\x10\xdd\x01r\x10\xdd\x01r\x10\xdd\x01r\x10'
- b'\xdd\x01r\x10\xdd\x01r\x10\xdd\x01r\x10\xdd\x01r\x10'
- b'\xdd\x01r\x10\xdd\x01r\x10\xdd\x01r\x10\xdd\x01r?'
- b'\xff\xffk'
-)
-
class FibonacciClockApp():
"""Displays the time as a Fibonacci Clock.
"""
NAME = 'Fibo'
- ICON = icon
def foreground(self):
"""Activate the application."""