X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/58f8fcfb15531fc052f9cdd02543cafe93428698..ce0df18443db4c43ba336f802eca6143be832093:/src/gui/PGUConfiguration.py?ds=inline 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()