diff pyntnclick/widgets/overlay.py @ 639:fdc63049b08c pyntnclick

Add game_description to the widgets,, since it looks a useful thing to do
author Neil Muller <neil@dip.sun.ac.za>
date Sun, 12 Feb 2012 01:31:14 +0200
parents 1aac5a3b17e1
children
line wrap: on
line diff
--- a/pyntnclick/widgets/overlay.py	Sun Feb 12 01:27:53 2012 +0200
+++ b/pyntnclick/widgets/overlay.py	Sun Feb 12 01:31:14 2012 +0200
@@ -5,9 +5,9 @@
     """A non-visiable clickable area, that causes an overlay to be
     displayed. Doesn't really understand this focus thing."""
 
-    def __init__(self, rect, image):
+    def __init__(self, rect, gd, image):
         self.image = image
-        super(OverlayButton, self).__init__(rect)
+        super(OverlayButton, self).__init__(rect, gd)
 
     def draw(self, surface):
         if not self.disabled: