feature/event-customization-2024 #2
@@ -1,8 +1,6 @@
|
|||||||
"You miss 100% of the shots you don’t take – Wayne Gretzky"
|
You miss 100% of the shots you do not take. Wayne Gretzky
|
||||||
-- Michael Scott, The Office
|
(Michael Scott, The Office)
|
||||||
%
|
%
|
||||||
"If you want to see more, visit: "
|
If you want to see more, visit marianosciacco.it
|
||||||
-- marianosciacco.it
|
|
||||||
%
|
%
|
||||||
"Wanna add me on LinkedIn?"
|
Wanna add me on LinkedIn? in.marianosciacco.it
|
||||||
-- in.marianosciacco.it
|
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ import badger_os
|
|||||||
from widgets import draw_window, pprint, ptitle, plength, ppara, button, draw_ui
|
from widgets import draw_window, pprint, ptitle, plength, ppara, button, draw_ui
|
||||||
from random import random
|
from random import random
|
||||||
|
|
||||||
IMAGE_WIDTH = 96
|
# IMAGE_WIDTH = 96
|
||||||
IMAGE_HEIGHT = 96
|
# IMAGE_HEIGHT = 96
|
||||||
DELTA = 0
|
# DELTA = 0
|
||||||
|
|
||||||
# Check that the fortune directory exists, if not, make it
|
# Check that the fortune directory exists, if not, make it
|
||||||
try:
|
try:
|
||||||
@@ -49,9 +49,9 @@ def draw_clippy():
|
|||||||
height = 106
|
height = 106
|
||||||
draw_window(display, x, y, width, height, " Information ")
|
draw_window(display, x, y, width, height, " Information ")
|
||||||
|
|
||||||
clippy_dat = bytearray(int(IMAGE_WIDTH * IMAGE_HEIGHT / 8))
|
# clippy_dat = bytearray(int(IMAGE_WIDTH * IMAGE_HEIGHT / 8))
|
||||||
open(f"images/logo.bin", "rb").readinto(clippy_dat)
|
# open(f"images/logo.bin", "rb").readinto(clippy_dat)
|
||||||
display.image(clippy_dat, IMAGE_WIDTH, IMAGE_HEIGHT, 212, 56)
|
# display.image(clippy_dat, IMAGE_WIDTH, IMAGE_HEIGHT, 212, 56)
|
||||||
|
|
||||||
# scrollbars
|
# scrollbars
|
||||||
display.pen(0)
|
display.pen(0)
|
||||||
|
|||||||
Reference in New Issue
Block a user