Commit 9639d47f by BellCodeEditor

save project

parent 00b97df1
Showing with 4 additions and 3 deletions
...@@ -89,8 +89,8 @@ while True: ...@@ -89,8 +89,8 @@ while True:
fz=int(sj/1000) fz=int(sj/1000)
fz_m=fz//60 fz_m=fz//60
fz_s=fz%60 fz_s=fz%60
if fz_m<10: if fz_s<10:
fz_m='0'+str(fz_s) fz_s='0'+str(fz_s)
info=str(fz_m)+':'+str(fz_s) info=str(fz_m)+':'+str(fz_s)
pp=word.render(info,True,(0,0,0)) pp=word.render(info,True,(0,0,0))
...@@ -107,7 +107,7 @@ while True: ...@@ -107,7 +107,7 @@ while True:
screen.blit(last_img, (120, 350)) # 上一曲 screen.blit(last_img, (120, 350)) # 上一曲
screen.blit(next_img, (420, 350)) # 下一曲 screen.blit(next_img, (420, 350)) # 下一曲
screen.blit(pp,(120,450)) screen.blit(pp,(120,450))
time_content=display_fonts.render(display_time,True,(255,255,255))
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment