Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/MAFH2/ezmenu.py
diff options
context:
space:
mode:
authorKevin Hockey <Blitzkev@gmail.com>2010-08-05 17:15:38 (GMT)
committer Kevin Hockey <Blitzkev@gmail.com>2010-08-05 17:15:38 (GMT)
commitf186d6247a43725667fe53994d522920583c71c0 (patch)
tree610eb80e80d0aa3ed06bd89b2898ea41323e1194 /MAFH2/ezmenu.py
parent0527d25fb0c0a3c22c6b10d1bf85b72c3947fd90 (diff)
changed draw methods to no longer pass unneeded data
Diffstat (limited to 'MAFH2/ezmenu.py')
-rw-r--r--MAFH2/ezmenu.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/MAFH2/ezmenu.py b/MAFH2/ezmenu.py
index 77a6d07..9387f1e 100644
--- a/MAFH2/ezmenu.py
+++ b/MAFH2/ezmenu.py
@@ -45,7 +45,7 @@ class EzMenu():
self.scene.addObjects(self.font_list)
- def draw(self, surface):
+ def draw(self):
"""Draw the menu to the surface."""
i=0
help_txt = ""
@@ -56,10 +56,8 @@ class EzMenu():
else:
clr = self.color
text = o[0]
- #ren = self.font.render(text, True, clr)
self.font_list[i].changeText(text, clr)
self.font_list[i].setPosition( self.x, self.y + i*self.font.get_height() )
- #surface.blit(ren, (self.x, self.y + i*self.font.get_height()))
i+=1
# Help Text