if self.fullscreen :
displayFlags = displayFlags | pygame.FULLSCREEN
pygame.display.set_mode(self.screenResolution, displayFlags)
- pygame.display.set_caption('MINWii')
+ pygame.display.set_caption('MINDs')
WT = self.WT
- songFile, playMode, displayNotes, wiimoteIndex = '', 'NORMAL', True, 0
+ # valeurs par défaut des options
+ songFile, playMode, displayNotes, wiimoteIndex = '', 'NORMAL', False, 0
while True :
WT.resume()
self.screen = SCREEN_HOME
exit, songFile, playMode, displayNotes, wiimoteIndex = \
self.selectSongAndOptions(songFile, playMode, displayNotes, wiimoteIndex)
- if exit : break
+ if exit :
+ WT.quit()
+ break
self.screen = SCREEN_INSTRUMENTS
pass
def get_count(self) :
return None
+ def quit(self) :
+ pass