gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] gzz/gzz/view MultitypeCellContentView.java xubu...


From: Benja Fallenstein
Subject: [Gzz-commits] gzz/gzz/view MultitypeCellContentView.java xubu...
Date: Sun, 24 Nov 2002 15:40:49 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Benja Fallenstein <address@hidden>      02/11/24 15:40:49

Modified files:
        gzz/view       : MultitypeCellContentView.java xubuoy.py 

Log message:
        GL client to work with --multiline, fix animation speed

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/view/MultitypeCellContentView.java.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/view/xubuoy.py.diff?tr1=1.34&tr2=1.35&r1=text&r2=text

Patches:
Index: gzz/gzz/view/MultitypeCellContentView.java
diff -u gzz/gzz/view/MultitypeCellContentView.java:1.10 
gzz/gzz/view/MultitypeCellContentView.java:1.11
--- gzz/gzz/view/MultitypeCellContentView.java:1.10     Sat Nov 23 08:44:20 2002
+++ gzz/gzz/view/MultitypeCellContentView.java  Sun Nov 24 15:40:49 2002
@@ -30,17 +30,18 @@
  * on the type of content.
  */
 public class MultitypeCellContentView extends CellContentView {
-    CellContentView textView, pageView, imageView;
+    CellInBox textView, pageView, imageView;
     
-    public MultitypeCellContentView(CellContentView textView, 
-                                   CellContentView pageView,
-                                   CellContentView imageView) {
+    public MultitypeCellContentView(CellInBox textView, 
+                                   CellInBox pageView,
+                                   CellInBox imageView) {
         this.textView = textView;
         this.pageView = pageView;
        this.imageView = imageView;
     }
 
-    private CellContentView v(Cell c) {
+    private CellInBox v(Cell c) {
+       if(c == null) return textView;
         VStreamCellTexter tex = (VStreamCellTexter)c.space.getCellTexter();
         Enfilade1D enf = tex.getEnfilade(c, null);
         if(enf.length() == 0) return textView;
Index: gzz/gzz/view/xubuoy.py
diff -u gzz/gzz/view/xubuoy.py:1.34 gzz/gzz/view/xubuoy.py:1.35
--- gzz/gzz/view/xubuoy.py:1.34 Sat Nov 23 14:20:08 2002
+++ gzz/gzz/view/xubuoy.py      Sun Nov 24 15:40:49 2002
@@ -28,10 +28,6 @@
 
 from gzz.client import AbstractUpdateManager
 
-# Slow animation for the demo.
-AbstractUpdateManager.defaultAnimationTime = 3000
-AbstractUpdateManager.fractCalc = AbstractUpdateManager.LinearCalculator()
-
 screensize = (1024, 768) # assuming XGA projector.
 
 # center = little above physical center




reply via email to

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