gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] fenfire/org/fenfire/bin fenpdf10.py


From: Tuomas J. Lukka
Subject: [Gzz-commits] fenfire/org/fenfire/bin fenpdf10.py
Date: Sat, 09 Aug 2003 09:31:16 -0400

CVSROOT:        /cvsroot/fenfire
Module name:    fenfire
Branch:         
Changes by:     Tuomas J. Lukka <address@hidden>        03/08/09 09:31:16

Modified files:
        org/fenfire/bin: fenpdf10.py 

Log message:
        rmcrud

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/bin/fenpdf10.py.diff?tr1=1.8&tr2=1.9&r1=text&r2=text

Patches:
Index: fenfire/org/fenfire/bin/fenpdf10.py
diff -u fenfire/org/fenfire/bin/fenpdf10.py:1.8 
fenfire/org/fenfire/bin/fenpdf10.py:1.9
--- fenfire/org/fenfire/bin/fenpdf10.py:1.8     Sat Aug  9 08:31:16 2003
+++ fenfire/org/fenfire/bin/fenpdf10.py Sat Aug  9 09:31:16 2003
@@ -331,32 +331,11 @@
         w0 = w*2/3
         h0 = w/2 - 40
 
-        w1 = w+100
-        h1 = h/5+100
+        h1 = h - h0
 
         s0 = 1.
         s1 = .8
 
-       ctrx = w/2
-
-       buoywidth0 = w0 * 1.2
-       buoyheight0 = h0 * 1.2
-
-       buoywidth1 = w1 * .7
-       buoyheight1 = h1 * 1
-
-        if (dbg): p("SET DOUBLE ", h0, h1, w0, w1, s0, s1, buoywidth0, 
buoywidth1)
-
-       vs.coords.setOrthoBoxParams(self.buoyinto1, 1, 
-                     ctrx - .5*buoywidth0, 0 +  .5*h0 - .5*buoyheight0,
-                     s0, s0, 
-                     buoywidth0/s0, buoyheight0/s0)
-
-       vs.coords.setOrthoBoxParams(self.buoyinto2, 1, 
-                     ctrx - .5*buoywidth1, h-h1+50,
-                     s1, s1, 
-                     buoywidth1/s1, buoyheight1/s1)
-
        vs.coords.setOrthoBoxParams(self.mainbox1, 1,
                        0, 0, s0, s0, w/s0, h0/s0);
        vs.coords.setOrthoBoxParams(self.mainbox2, 1,
@@ -367,9 +346,6 @@
        self.height = vs.size.height
        self.width = vs.size.width
 
-       self.buoyinto1 = vs.orthoBoxCS(0, "BuoyFrame1", 0, 0, 0, 0, 0, 0, 0)
-       self.buoyinto2 = vs.orthoBoxCS(0, "BuoyFrame2", 0, 0, 0, 0, 0, 0, 0)
-
        self.mainbox1 = vs.orthoBoxCS(0,"MainFrame1", 0, 0, 0, 0, 0, 0, 0);
        self.mainbox2 = vs.orthoBoxCS(0,"MainFrame2", 0, 0, 0, 0, 0, 0, 0);
 
@@ -377,8 +353,8 @@
 
         self.context.renderContext(vs, 0)
 
-       return [(self.mainbox1, None, self.buoyinto1), 
-               (self.mainbox2, None, self.buoyinto2)]
+       return [(self.mainbox1, None, None), 
+               (self.mainbox2, None, None)]
 
     def mouse(self, ev, oldvs):
         if dbg: p(ev)




reply via email to

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