Commit 463cf781 by BellCodeEditor

save project

parent 4f65f594
Showing with 2 additions and 2 deletions
...@@ -13,7 +13,7 @@ stop_img = pygame.image.load('stop.png') # 暂停按钮 ...@@ -13,7 +13,7 @@ stop_img = pygame.image.load('stop.png') # 暂停按钮
last_img = pygame.image.load('last.png') # 上一曲按钮 last_img = pygame.image.load('last.png') # 上一曲按钮
next_img = pygame.image.load('next.png') # 下一曲按钮 next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 下一曲按钮 logo_img = pygame.image.load('logo.png') # 下一曲按钮
basic_font = pygame.font.Font('neuropol.ttf',14 basic_font = pygame.font.Font('neuropol.ttf',14)
music_list = [] music_list = []
path = "C:\\Users\\space1\\Desktop\\test1" path = "C:\\Users\\space1\\Desktop\\test1"
filelist = os.listdir(path) filelist = os.listdir(path)
...@@ -108,7 +108,7 @@ while True: ...@@ -108,7 +108,7 @@ while True:
music_s = music_length%60 music_s = music_length%60
if music_s < 10: if music_s < 10:
music_s = "0" + str(music_s) music_s = "0" + str(music_s)
info2 = str(music_m) + ":" + str(play_s) info2 = str(music_m) + ":" + str(music_s)
new_logo = pygame.transform.rotate(logo_img,angle) new_logo = pygame.transform.rotate(logo_img,angle)
newRect = new_logo.get_rect(center=(320,200)) newRect = new_logo.get_rect(center=(320,200))
......
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