Sboui, centered (sorry for those you look for something usefull in these messages)

This commit is contained in:
KikooDX 2020-04-25 13:09:14 +02:00
parent 246c10df0b
commit 006a085814
1 changed files with 3 additions and 1 deletions

View File

@ -2,10 +2,12 @@ from casioplot import set_pixel as S
from casioplot import show_screen as R
def draw(x, y, data, pallet, width):
sx = x
width += sx
for v in data:
S(x, y, pallet[v])
x += 1
if x == width:
x = 0
x = sx
y += 1
R()