changeset 819:80ff3c9187bc pyntnclick

Rename InteractText to InteractDebugText to better reflect it's aim
author Neil Muller <neil@dip.sun.ac.za>
date Mon, 28 Jan 2013 15:48:31 +0200
parents 8b4a0aad8aeb
children e42d19c2237b
files pyntnclick/scenewidgets.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pyntnclick/scenewidgets.py	Mon Jan 28 15:46:22 2013 +0200
+++ b/pyntnclick/scenewidgets.py	Mon Jan 28 15:48:31 2013 +0200
@@ -34,7 +34,7 @@
         super(InteractNoImage, self).__init__(None, None, Rect(x, y, w, h))
 
 
-class InteractText(Interact):
+class InteractDebugText(Interact):
     """Display box with text to interact with -- mostly for debugging."""
 
     def __init__(self, x, y, text, bg_color=None):
@@ -49,7 +49,7 @@
         image = Surface(label.size)
         rect = Rect((x, y), label.size)
         label.draw_all(image)
-        super(InteractText, self).__init__(image, rect, rect)
+        super(InteractDebugText, self).__init__(image, rect, rect)
 
 
 class InteractRectUnion(Interact):