Commit b19abdab by BellCodeEditor

save project

parent 17b8d3f3
Showing with 8 additions and 1 deletions
......@@ -12,7 +12,8 @@ play_img = pygame.image.load('play.png') # 播放按钮
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') # 下一曲按钮
logo_img = pygame.image.load('logo.png')
basic_font = pygame.font.Font('neuropol.ttf',14)
music_list = []
path = "C:\\Users\\Administrator\\Desktop\\test"
......@@ -92,8 +93,14 @@ while True:
play_m = play_time//60 #分
paly_s = play_time%60 #秒
if play_s < 10:
play_s = "0"+str(paly_s)
info = str(paly_m)+":"+str(play_s)
music_m = musicmusic_length//60
music_s = musicmusic_length&60
info2 = str(music_m)+":"+str(music_s)
new_logo = pygame.transform.rotate(logo_img,angle)
newRect = new_logo.get_rect(center=(320,200))
pos = (newRect[0],newRect[1])
......
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