X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/5034abc0164f6c09cb53291d2fe3e71c33cc4cf9..HEAD:/src/minwii/widgets/home.py diff --git a/src/minwii/widgets/home.py b/src/minwii/widgets/home.py index 92a0e22..fc5d562 100755 --- a/src/minwii/widgets/home.py +++ b/src/minwii/widgets/home.py @@ -34,7 +34,7 @@ STYLE_RIGHT_COL = {#'border_right' : 2, 'padding_left' : 20} -class Home(object, Table) : +class Home(Table) : """ Écran de démarrage de minwii """ @@ -49,11 +49,12 @@ class Home(object, Table) : self.nwiimotes = params.get('nwiimotes', 0) self.songFile = params.get('songFile', '') self.spaceSize = (100,100) - self.font = pygame.font.Font(None,70) + self.font = pygame.font.Font(None,90) self._fill() self.selectedPlayMode = params.get('playMode', 'NORMAL') self.displayNotes = params.get('displayNotes', True) self.selectedWiimoteIndex = params.get('wiimoteIndex', 0) + self.exitApp = False self._initLocalListeners() @@ -68,7 +69,7 @@ class Home(object, Table) : self.tr() caption = '' if not self.songFile else FileOpenDialog.getSongTitle(self.songFile) - self.songTitle = self.createLabel(caption) + self.songTitle = self.createLabel(caption, font=pygame.font.Font(None,60)) st = STYLE_RIGHT_COL.copy() del st['padding_top'] self.td(self.songTitle, style = st) @@ -174,7 +175,7 @@ class Home(object, Table) : if dlg.value and os.path.isfile(dlg.value): self.remove(self.songTitle) title = FileOpenDialog.getSongTitle(dlg.value) - self.songTitle = self.createLabel(title) + self.songTitle = self.createLabel(title, font= pygame.font.Font(None,60)) self.td(self.songTitle, col=1, row=1, style=STYLE_RIGHT_COL) self.songFile = dlg.value self.playButton.disabled = False