comparison gamelib/helpscreen.py @ 181:7e556ef40100

Lighten help screen. Fix some oddities in darken modifier.
author Simon Cross <hodgestar@gmail.com>
date Fri, 04 Sep 2009 16:48:01 +0000
parents e2b5262c2b11
children fa0e818c3fee
comparison
equal deleted inserted replaced
180:c0cad267222b 181:7e556ef40100
36 return c 36 return c
37 37
38 class HelpContainer(gui.Container): 38 class HelpContainer(gui.Container):
39 def paint(self, s): 39 def paint(self, s):
40 pygame.display.set_caption('Instructions') 40 pygame.display.set_caption('Instructions')
41 splash = imagecache.load_image("images/splash.png") 41 splash = imagecache.load_image("images/splash.png", ["lighten_most"])
42 pygame.display.get_surface().blit(splash, (0, 0)) 42 pygame.display.get_surface().blit(splash, (0, 0))
43 gui.Container.paint(self, s) 43 gui.Container.paint(self, s)
44 44
45 class HelpScreen(gui.Document): 45 class HelpScreen(gui.Document):
46 def __init__(self, **params): 46 def __init__(self, **params):