]> CRI, Mines Paris - PSL - minwii.git/blobdiff - src/app/widgets/launch.py
renommage de app en minwii (ça va tout péter…).
[minwii.git] / src / app / widgets / launch.py
diff --git a/src/app/widgets/launch.py b/src/app/widgets/launch.py
deleted file mode 100755 (executable)
index 04f1cbd..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-import pygame
-import os.path
-
-class LaunchScreen :
-
-    @staticmethod
-    def _get_launch_image() :
-        imagePath = os.path.abspath(__file__).split(os.path.sep)[:-1]
-        imagePath.extend(['data', 'accueil.png'])
-        return os.path.sep.join(imagePath)
-
-    def __init__(self) :
-        imagePath = LaunchScreen._get_launch_image()
-        self.image = pygame.image.load(imagePath)
-        size = self.image.get_size()
-        pygame.display.set_mode(size, pygame.NOFRAME)
-        screen = pygame.display.get_surface()
-        screen.blit(self.image, (0,0))
-        pygame.display.flip()