Beispiel #1
0
 def fullscreenButton_clicked(self):
     globs.fullscreen = not globs.fullscreen
     globs.initialize_screen()
     globs.redraw = True
     globs.config.set("video", "fullscreen", globs.fullscreen)
     globs.write_config()
Beispiel #2
0
 def resButton_clicked(self):
     globs.resolution = resolutions[self.resolution]
     globs.redraw = True
     globs.initialize_screen()
     globs.config.set("video", "resolution", self.text)
     globs.write_config()