gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] gzz/gfx/demo keymap-test.py


From: Matti Katila
Subject: [Gzz-commits] gzz/gfx/demo keymap-test.py
Date: Mon, 13 Jan 2003 08:05:26 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Matti Katila <address@hidden>   03/01/13 08:05:25

Modified files:
        gfx/demo       : keymap-test.py 

Log message:
        small fix

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/demo/keymap-test.py.diff?tr1=1.7&tr2=1.8&r1=text&r2=text

Patches:
Index: gzz/gfx/demo/keymap-test.py
diff -u gzz/gfx/demo/keymap-test.py:1.7 gzz/gfx/demo/keymap-test.py:1.8
--- gzz/gfx/demo/keymap-test.py:1.7     Mon Jan 13 07:41:18 2003
+++ gzz/gfx/demo/keymap-test.py Mon Jan 13 08:05:25 2003
@@ -11,7 +11,7 @@
 from java.awt.event import MouseEvent
 
 
-AbstractUpdateManager.defaultAnimationTime = 2000
+AbstractUpdateManager.defaultAnimationTime = 3000
 obsTrigger = SimpleObsTrigger();
 cellTexter = SimpleVStreamTexter(FakeSpanMaker(), 
Enfilade1DImpl.Enfilade1DImplMaker())
 cellManager = PlainCellManager()
@@ -67,10 +67,8 @@
         h = 300
         wi = 300
         
-
-        ctr = vs.coords.affineCoordsys(0, 100, 300,600, 1,0,0,1);
+        ctr = vs.orthoCS(0, "ctr", 0,300,600, 1,1)
         fr = vs.orthoBoxCS(ctr, "frame", 100, -wi/2, -h/2,  1,1, wi, h)
-        vs.matcher.add(ctr, "ctr")
         c2f = vs.coords.ortho(0, 11, 0, 0, .8, .8)
         vs.matcher.add(fr, c2f, "C2F")
         
@@ -81,7 +79,7 @@
        # Note how we map the OLD cs2 to the NEW cs1
        if self.chg:
             print 'AND IT MAKES!'
-           vs.matcher.keymapSingleCoordsys(self.NEW, self.OLD)
+           #vs.matcher.keymapSingleCoordsys(self.NEW, self.OLD)
            vs.matcher.keymapSingleCoordsys(self.NEW_PAPER, self.OLD)
 
        # and now store the NEW cs2




reply via email to

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