diff gamelib/gui.py @ 68:7309392d9ca9

fixed widget drawing bugs
author Rizmari Versfeld <rizziepit@gmail.com>
date Tue, 08 May 2012 23:05:58 +0200
parents 38f41d046c6f
children 22b65c943712
line wrap: on
line diff
--- a/gamelib/gui.py	Tue May 08 22:28:00 2012 +0200
+++ b/gamelib/gui.py	Tue May 08 23:05:58 2012 +0200
@@ -20,7 +20,7 @@
     BG_IMAGE_NORMAL = image.load(data.filepath('images/button_normal.png'))
     BG_IMAGE_DOWN = image.load(data.filepath('images/button_down.png'))
 
-    def __init__(self, pos, text, font=font_large, shadow=True):
+    def __init__(self, pos, text, font=font_large, shadow=False):
         rect1 = (0, 0, self.WIDTH, self.HEIGHT)
         n = ImageDrawable(rect1, self.BG_IMAGE_NORMAL)
         d = ImageDrawable(rect1, self.BG_IMAGE_DOWN)