diff pyntnclick/state.py @ 644:1faced4e343a pyntnclick

LabelWidget
author Stefano Rivera <stefano@rivera.za.net>
date Sun, 12 Feb 2012 02:27:27 +0200
parents 143c67501c79
children 122204fb6eb1
line wrap: on
line diff
--- a/pyntnclick/state.py	Sun Feb 12 02:08:59 2012 +0200
+++ b/pyntnclick/state.py	Sun Feb 12 02:27:27 2012 +0200
@@ -2,7 +2,7 @@
 
 import copy
 
-from widgets.text import TextWidget
+from widgets.text import LabelWidget
 from pygame.rect import Rect
 from pygame.color import Color
 
@@ -315,7 +315,7 @@
                 self.game.current_thing.get_description())
         if text is None:
             return None
-        label = TextWidget((10, 10), self.gd, text)
+        label = LabelWidget((10, 10), self.gd, text)
         #label.set_margin(5)
         #label.border_width = 1
         #label.border_color = (0, 0, 0)