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: Tuomas J. Lukka
Subject: [Gzz-commits] libvob/vob/buoy buoymanager.py
Date: Sat, 09 Aug 2003 07:49:59 -0400

CVSROOT:        /cvsroot/libvob
Module name:    libvob
Branch:         
Changes by:     Tuomas J. Lukka <address@hidden>        03/08/09 07:49:57

Modified files:
        vob/buoy       : buoymanager.py 

Log message:
        Start incremental changes towards flexible geometry

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

Patches:
Index: libvob/vob/buoy/buoymanager.py
diff -u libvob/vob/buoy/buoymanager.py:1.38 libvob/vob/buoy/buoymanager.py:1.39
--- libvob/vob/buoy/buoymanager.py:1.38 Sat Aug  9 07:15:50 2003
+++ libvob/vob/buoy/buoymanager.py      Sat Aug  9 07:49:57 2003
@@ -238,8 +238,8 @@
 
        for i in range(0, len(self.singles)):
            self.singles[i].drawscene(vs, 
-                   geoms[i][0],
-                   geoms[i][1], 
+                   geoms[i][1],
+                   geoms[i][2], 
                    nadirCS)
 
     def mouse(self, ev):
@@ -305,7 +305,13 @@
                                -buoywidth/2, -buoyheight/2, 1, 1, 
                                    buoywidth, buoyheight)
 
-       return [(into, buoyinto)]
+       mainbox = vs.orthoBoxCS(center, "MainFrame", 0,
+                           -vs.size.width * .5, -vs.size.height * .5,
+                           1, 1,
+                           vs.size.width, vs.size.height);
+
+       return [(mainbox, into, buoyinto)]
+
     def mouse(self, ev, oldvs):
        return 0
 




reply via email to

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