apps: alarm: Adopt 2-bit RLE for the icon
The long term plan is to retire and remove the 1-bit RLE code from wasp-os so we don't want new icons using that encoding. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
parent
27413eb5e1
commit
707c4e2fa7
1 changed files with 21 additions and 20 deletions
|
@ -16,27 +16,28 @@ An application to set a vibration alarm. All settings can be accessed from the W
|
|||
import wasp
|
||||
import time
|
||||
|
||||
# 1-bit RLE, generated from res/alarm_icon.png, 277 bytes
|
||||
# 2-bit RLE, generated from res/alarm_icon.png, 285 bytes
|
||||
icon = (
|
||||
96, 64,
|
||||
b'\xff\x00\xff\x00\xbf\x05\x1f\x055\x08\x0b\x07\x0b\t1\n'
|
||||
b'\x06\x0f\x07\t0\n\x06\x11\x06\n.\n\x04\x17\x04\n'
|
||||
b'-\t\x04\x19\x04\t,\t\x03\x1e\x02\t+\x08\x03 '
|
||||
b'\x02\x08+\x07\x03\r\x07\x0e\x02\x07+\x06\x03\r\t\r'
|
||||
b'\x03\x06+\x05\x03\x0b\x0f\x0b\x03\x05+\x04\x03\n\x13\n'
|
||||
b'\x03\x04,\x02\x04\t\x15\t\x04\x022\t\x17\t6\t'
|
||||
b'\x19\t4\n\x1a\t3\t\r\x01\x0e\x083\x07\x0e\x03'
|
||||
b'\x0e\x072\x08\x0e\x03\x0e\x081\x07\x0f\x03\x0f\x071\x07'
|
||||
b'\x0f\x03\x0f\x071\x07\x0f\x03\x0f\x071\x06\x10\x03\x10\x06'
|
||||
b'0\x07\x10\x03\x10\x07/\x07\x10\x03\x10\x07/\x07\x10\x03'
|
||||
b'\x10\x07/\x07\x0f\x04\x10\x07/\x07\x0e\x04\x11\x07/\x07'
|
||||
b'\r\x04\x12\x070\x06\x0c\x04\x13\x061\x07\n\x04\x13\x07'
|
||||
b'1\x07\n\x03\x14\x071\x07\n\x02\x15\x071\x08\x1f\x08'
|
||||
b'2\x07\x1f\x073\x08\x1d\x083\t\x1b\t4\t\x19\t'
|
||||
b'6\t\x17\t8\t\x15\t9\n\x13\n:\x0b\x0f\x0b'
|
||||
b'<\x0e\x08\r>!@\x1fB\x1dC\x1e@!?\x05'
|
||||
b'\x03\x11\x03\x05?\x04\t\x07\t\x04@\x02\x0b\x05\x0b\x02'
|
||||
b'\xff\x00\xff\x00a'
|
||||
b'\x02'
|
||||
b'`@'
|
||||
b'?\xff\xff\x80\xc5\x1f\xc55\xc8\x0b\xc7\x0b\xc91\xca\x06'
|
||||
b'\xcf\x07\xc90\xca\x06\xd1\x06\xca.\xca\x04\xd7\x04\xca-'
|
||||
b'\xc9\x04\xd9\x04\xc9,\xc9\x03\xde\x02\xc9+\xc8\x03\xe0\x02'
|
||||
b'\xc8+\xc7\x03\xcd\x07\xce\x02\xc7+\xc6\x03\xcd\t\xcd\x03'
|
||||
b'\xc6+\xc5\x03\xcb\x0f\xcb\x03\xc5+\xc4\x03\xca\x13\xca\x03'
|
||||
b'\xc4,\xc2\x04\xc9\x15\xc9\x04\xc22\xc9\x17\xc96\xc9\x19'
|
||||
b'\xc94\xca\x1a\xc93\xc9\r\xc1\x0e\xc83\xc7\x0e\xc3\x0e'
|
||||
b'\xc72\xc8\x0e\xc3\x0e\xc81\xc7\x0f\xc3\x0f\xc71\xc7\x0f'
|
||||
b'\xc3\x0f\xc71\xc7\x0f\xc3\x0f\xc71\xc6\x10\xc3\x10\xc60'
|
||||
b'\xc7\x10\xc3\x10\xc7/\xc7\x10\xc3\x10\xc7/\xc7\x10\xc3\x10'
|
||||
b'\xc7/\xc7\x0f\xc4\x10\xc7/\xc7\x0e\xc4\x11\xc7/\xc7\r'
|
||||
b'\xc4\x12\xc70\xc6\x0c\xc4\x13\xc61\xc7\n\xc4\x13\xc71'
|
||||
b'\xc7\n\xc3\x14\xc71\xc7\n\xc2\x15\xc71\xc8\x1f\xc82'
|
||||
b'\xc7\x1f\xc73\xc8\x1d\xc83\xc9\x1b\xc94\xc9\x19\xc96'
|
||||
b'\xc9\x17\xc98\xc9\x15\xc99\xca\x13\xca:\xcb\x0f\xcb<'
|
||||
b'\xce\x08\xcd>\xe1?\x01\xdf?\x03\xdd?\x04\xde?\x01'
|
||||
b'\xe1?\x00\xc5\x03\xd1\x03\xc5?\x00\xc4\t\xc7\t\xc4?'
|
||||
b'\x01\xc2\x0b\xc5\x0b\xc2?\xff\xff"'
|
||||
)
|
||||
|
||||
class AlarmApp():
|
||||
|
|
Loading…
Reference in a new issue