Transparent progressbar

This commit is contained in:
Ander
2015-04-12 22:14:17 +02:00
parent 56ddc47902
commit 416fd8e405
2 changed files with 2 additions and 1 deletions

View File

@@ -244,7 +244,7 @@ class Progressbar(TouchObject):
self.value = 0
self.max = max_value
self.back_color = (0, 0, 0, 128)
self.main_color = (0, 150, 255)
self.main_color = (0, 150, 255, 150)
self.surface = pygame.Surface(self.size, pygame.SRCALPHA)\
.convert_alpha()
self.surface.fill(self.back_color)

View File

@@ -287,6 +287,7 @@ class MainScreen(BaseScreen):
current)
def load_image(self):
#logger.error(self.core.library.get_images({self.track.artists.uri}).get()[self.track.album.uri])
size = self.base_size * 4
image_original = pygame.image.load(
self.get_cover_folder() +