X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/58f8fcfb15531fc052f9cdd02543cafe93428698..0907833e1d87414215c13952336e2e8069042d31:/src/gui/PGUConfiguration.py diff --git a/src/gui/PGUConfiguration.py b/src/gui/PGUConfiguration.py index 214a347..d903c5a 100644 --- a/src/gui/PGUConfiguration.py +++ b/src/gui/PGUConfiguration.py @@ -111,7 +111,7 @@ class PGUConfiguration(pguGui.Desktop): else : label = self.createLabel(key) elif self.file.endswith('.xml') : - self.song = musicXml2Song(self.file, printNotes=True) + self.song = musicXml2Song(self.file, printNotes=False) filename = os.path.basename(self.file) label = self.createLabel(filename) self.browseButton = pguGui.Button(label) @@ -246,7 +246,7 @@ class PGUConfiguration(pguGui.Desktop): self.easyMode = False choice = InstrumentChoice(instruments, wiimotes, self.window, screen, clock, joys, portOffset,self.activeWiimotes, scaleFactor = songScaleFactor) - play = SongPlayingScreen(choice, self.song,self.cascade, self.extendedScale,self.easyMode,self.alwaysDown) + play = SongPlayingScreen(choice, self)# self.song,self.cascade, self.extendedScale,self.easyMode,self.alwaysDown) else: @@ -264,7 +264,7 @@ class PGUConfiguration(pguGui.Desktop): self.cascade = True choice = InstrumentChoice(instruments, wiimotes, self.window, screen, clock, joys, portOffset,self.activeWiimotes) - play = PlayingScreen(choice, None,self.cascade, self.extendedScale) + play = PlayingScreen(choice, self)#None,self.cascade, self.extendedScale) while play.backToInstrumentChoice == True : @@ -304,7 +304,7 @@ class PGUConfiguration(pguGui.Desktop): if __name__ == "__main__" : pygame.init() modeResolution = (1024,768) - window = pygame.display.set_mode(modeResolution,pygame.FULLSCREEN) + window = pygame.display.set_mode(modeResolution)#,pygame.FULLSCREEN) pgu = PGUConfiguration(window) pygame.quit()