Commit d8d09fcd by BellCodeEditor

auto save

parent 9bcdfefa
Showing with 3 additions and 1 deletions
......@@ -12,7 +12,7 @@ stop_img = pygame.image.load('stop.png') # 暂停按钮
last_img = pygame.image.load('last.png') # 上一曲按钮
next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 下一曲按钮
my_font = pygame.image.load('neuropol.ttf',18)
music_list = []
path = "C:\\Users\\Administrator\\Desktop\\text"
filelist = os.listdir(path)
......@@ -93,6 +93,8 @@ while True:
play_m=play_time//60
play_s=play_time%60
info=str(play_m)+":"+str(play_s)
text1=my_font.render(info,True,(0,0,0))
screen.blit(text1,(540,10))
# 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景
screen.blit(play_button, (270, 330)) # 暂停按钮
......
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