Commit c9e82456 by BellCodeEditor

save project

parent 27912086
Showing with 2 additions and 1 deletions
...@@ -14,7 +14,7 @@ last_img = pygame.image.load('last.png') # 上一曲按钮 ...@@ -14,7 +14,7 @@ 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') # 下一曲按钮
path = "C:\\Users\\Administrator\\Desktop\\test\\music" path = "C:\\Users\\Administrator\\Desktop\\test\\music\\"
filelist = os.listdir(path) filelist = os.listdir(path)
music_list = [] music_list = []
for i in filelist: for i in filelist:
...@@ -90,6 +90,7 @@ while True: ...@@ -90,6 +90,7 @@ while True:
newRect = new_logo.get_rect(center=(320, 200)) newRect = new_logo.get_rect(center=(320, 200))
# print(newRect) # rect(170, 65, 300, 270) 左上角坐标、图片大小 # print(newRect) # rect(170, 65, 300, 270) 左上角坐标、图片大小
pos = (newRect[0], newRect[1]) pos = (newRect[0], newRect[1])
if play_button == stop_img:
angle += 1 angle += 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