fenfire-commits
[Top][All Lists]
Advanced

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

[ff-cvs] libvob vob/buoy/buoymanager.py org/nongnu/libvo...


From: Matti Katila
Subject: [ff-cvs] libvob vob/buoy/buoymanager.py org/nongnu/libvo...
Date: Mon, 01 Sep 2003 12:20:07 -0400

CVSROOT:        /cvsroot/libvob
Module name:    libvob
Branch:         
Changes by:     Matti Katila <address@hidden>   03/09/01 12:20:07

Modified files:
        vob/buoy       : buoymanager.py 
Added files:
        org/nongnu/libvob/buoy: FocusViewPortsGeometer.java 

Log message:
        creating an interface + document + small change in implementation of 
buoymanager's geometer call

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/org/nongnu/libvob/buoy/FocusViewPortsGeometer.java?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/vob/buoy/buoymanager.py.diff?tr1=1.71&tr2=1.72&r1=text&r2=text

Patches:
Index: libvob/vob/buoy/buoymanager.py
diff -u libvob/vob/buoy/buoymanager.py:1.71 libvob/vob/buoy/buoymanager.py:1.72
--- libvob/vob/buoy/buoymanager.py:1.71 Tue Aug 26 05:47:30 2003
+++ libvob/vob/buoy/buoymanager.py      Mon Sep  1 12:20:06 2003
@@ -220,12 +220,15 @@
     def scene(self, vs):
        self.vs = vs
 
-       geoms = self.geometer.place(vs)
+        geoms = jarray.zeros(2, 'i')
+        # set jarray items to -1
+        for i in range(len(geoms)): geoms[i] = -1
+       self.geometer.place(vs, geoms)
 
        for i in range(0, len(self.singles)):
-           if geoms[i][0] >= 0:
+           if geoms[i] >= 0:
                self.singles[i].drawScene(vs, 
-                       geoms[i][0])
+                       geoms[i])
 
     def findTopmostMainNode(self, vs, x, y):
        """Get the topmost main node at x, y.




reply via email to

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