+ police = helpers.font(14)
+ icon_police = helpers.font(14, font = "Symbola")
+
+ surface = pygame.Surface((208, 250)).convert()
+ surface.fill((250, 250, 250))
+ offset = 0
+ for music_file in open_files.values():
+ police.set_bold(False)
+ if music_file.is_playing():
+ if music_file.is_paused():
+ icon = icon_police.render("⏸", True, (0,0,0))
+ else:
+ icon = icon_police.render("⏵", True, (0,0,0))
+ police.set_bold(True)
+ text = police.render(music_file.name, True, (0,0,0))
+ surface.blit(icon, (0, offset))
+ surface.blit(text, (20, offset))
+ offset += police.get_linesize()
+ screen.blit(surface, (700, 308))
+