changeset 687:6d75895477ac pyntnclick

Comment out highlight_override, not used by our widgets
author Stefano Rivera <stefano@rivera.za.net>
date Mon, 13 Feb 2012 15:53:13 +0200
parents 48f68ae7d454
children 6892d36dad75
files pyntnclick/cursor.py
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pyntnclick/cursor.py	Mon Feb 13 11:36:32 2012 +0200
+++ b/pyntnclick/cursor.py	Mon Feb 13 15:53:13 2012 +0200
@@ -44,7 +44,7 @@
 
     def set_highlight(self, enable):
         if enable != self.highlighted:
-            # Do we need this? self.load()
+            #XXX: Do we need this? self.load()
             self.highlighted = enable
             self.image = self.plain_image.copy()
             if enable:
@@ -92,9 +92,8 @@
     def cursor_highlight(self):
         #XXX: if not Rect((0, 0), SCENE_SIZE).collidepoint(pygame.mouse.get_pos()):
         #XXX:     return False
-        if self.game.highlight_override:
-            # TODO: What is this?
-            return True
+        #XXX: if self.game.highlight_override:
+        #XXX:     return True
         current_thing = self.game.current_thing
         if current_thing:
             return current_thing.is_interactive()