feature/event-customization-2024 #2

Merged
Maxelweb merged 8 commits from feature/event-customization-2024 into master 2024-05-22 23:12:17 +02:00
2 changed files with 10 additions and 12 deletions
Showing only changes of commit 4d7763d37c - Show all commits

View File

@@ -1,8 +1,6 @@
"You miss 100% of the shots you dont take Wayne Gretzky"
-- Michael Scott, The Office
You miss 100% of the shots you do not take. Wayne Gretzky
(Michael Scott, The Office)
%
"If you want to see more, visit: "
-- marianosciacco.it
If you want to see more, visit marianosciacco.it
%
"Wanna add me on LinkedIn?"
-- in.marianosciacco.it
Wanna add me on LinkedIn? in.marianosciacco.it

View File

@@ -4,9 +4,9 @@ import badger_os
from widgets import draw_window, pprint, ptitle, plength, ppara, button, draw_ui
from random import random
IMAGE_WIDTH = 96
IMAGE_HEIGHT = 96
DELTA = 0
# IMAGE_WIDTH = 96
# IMAGE_HEIGHT = 96
# DELTA = 0
# Check that the fortune directory exists, if not, make it
try:
@@ -49,9 +49,9 @@ def draw_clippy():
height = 106
draw_window(display, x, y, width, height, " Information ")
clippy_dat = bytearray(int(IMAGE_WIDTH * IMAGE_HEIGHT / 8))
open(f"images/logo.bin", "rb").readinto(clippy_dat)
display.image(clippy_dat, IMAGE_WIDTH, IMAGE_HEIGHT, 212, 56)
# clippy_dat = bytearray(int(IMAGE_WIDTH * IMAGE_HEIGHT / 8))
# open(f"images/logo.bin", "rb").readinto(clippy_dat)
# display.image(clippy_dat, IMAGE_WIDTH, IMAGE_HEIGHT, 212, 56)
# scrollbars
display.pen(0)