comparison pyntnclick/main.py @ 587:f20d211d2c91 pyntnclick

load_image() -> get_image() and more docs.
author Jeremy Thurgood <firxen@gmail.com>
date Sat, 11 Feb 2012 17:02:26 +0200
parents 7e4a20eb78b8
children ebc48b397fd5
comparison
equal deleted inserted replaced
586:cf65e91b30b1 587:f20d211d2c91
102 # debug the specified scene 102 # debug the specified scene
103 self._initial_scene = opts.scene 103 self._initial_scene = opts.scene
104 self._debug_rects = opts.rects 104 self._debug_rects = opts.rects
105 display = pygame.display.set_mode(self.constants.screen, 105 display = pygame.display.set_mode(self.constants.screen,
106 SWSURFACE) 106 SWSURFACE)
107 pygame.display.set_icon(self.resource.load_image( 107 pygame.display.set_icon(self.resource.get_image(
108 'suspended_sentence24x24.png', basedir='icons')) 108 'suspended_sentence24x24.png', basedir='icons'))
109 pygame.display.set_caption("Suspended Sentence") 109 pygame.display.set_caption("Suspended Sentence")
110 shell = MainShell(display, self) 110 shell = MainShell(display, self)
111 try: 111 try:
112 shell.run() 112 shell.run()