gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] libvob/vob/buoy buoymanager.py


From: Matti Katila
Subject: [Gzz-commits] libvob/vob/buoy buoymanager.py
Date: Mon, 11 Aug 2003 05:02:00 -0400

CVSROOT:        /cvsroot/libvob
Module name:    libvob
Branch:         
Changes by:     Matti Katila <address@hidden>   03/08/11 05:02:00

Modified files:
        vob/buoy       : buoymanager.py 

Log message:
        added more knowledge of hitted buoys

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/vob/buoy/buoymanager.py.diff?tr1=1.45&tr2=1.46&r1=text&r2=text

Patches:
Index: libvob/vob/buoy/buoymanager.py
diff -u libvob/vob/buoy/buoymanager.py:1.45 libvob/vob/buoy/buoymanager.py:1.46
--- libvob/vob/buoy/buoymanager.py:1.45 Mon Aug 11 03:34:54 2003
+++ libvob/vob/buoy/buoymanager.py      Mon Aug 11 05:02:00 2003
@@ -229,6 +229,11 @@
        self.geometer = geometer
        self.replaceScene = None
         self.lastIndex = 0
+        class BuoyHit:
+            def set(self, single, link):
+                self.single, self.link = single, link
+        self.buoyHit = BuoyHit()
+
     def key(self, key):
         if hasattr(self.geometer, 'key'):
             self.geometer.key(key)
@@ -285,6 +290,7 @@
            link = single.cs.get(cs, None)
            if link != None:
                 # pa("IN CS: ",cs, link)
+                self.buoyHit.set(single, link)
                 if hasattr(self.geometer, 'buoyMouse') and \
                    self.geometer.buoyMouse(self, ev, single, link):
                     return




reply via email to

[Prev in Thread] Current Thread [Next in Thread]