gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] fenfire/org/fenfire/view/buoy AbstractMainNode2...


From: Matti Katila
Subject: [Gzz-commits] fenfire/org/fenfire/view/buoy AbstractMainNode2...
Date: Tue, 24 Jun 2003 09:51:25 -0400

CVSROOT:        /cvsroot/fenfire
Module name:    fenfire
Branch:         
Changes by:     Matti Katila <address@hidden>   03/06/24 09:51:24

Modified files:
        org/fenfire/view/buoy: AbstractMainNode2D.java 

Log message:
        add fast canvas

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/view/buoy/AbstractMainNode2D.java.diff?tr1=1.25&tr2=1.26&r1=text&r2=text

Patches:
Index: fenfire/org/fenfire/view/buoy/AbstractMainNode2D.java
diff -u fenfire/org/fenfire/view/buoy/AbstractMainNode2D.java:1.25 
fenfire/org/fenfire/view/buoy/AbstractMainNode2D.java:1.26
--- fenfire/org/fenfire/view/buoy/AbstractMainNode2D.java:1.25  Mon Jun 23 
14:16:19 2003
+++ fenfire/org/fenfire/view/buoy/AbstractMainNode2D.java       Tue Jun 24 
09:51:24 2003
@@ -26,7 +26,7 @@
 
 package org.fenfire.view.buoy;
 import org.fenfire.view.*;
-import org.fenfire.view.View2D;
+import org.fenfire.view.lava.*;
 import org.fenfire.util.ControlBinding;
 
 import org.nongnu.libvob.*;
@@ -39,7 +39,7 @@
  *  a View2D. This class implements the keyboard and mouse
  *  command for moving on the spatial plane.
  */
-public abstract class AbstractMainNode2D implements BuoyViewMainNode {
+public abstract class AbstractMainNode2D implements BuoyViewMainNode, FastView 
{
     public static boolean dbg = false;
     private static void p(String s) { System.out.println("AbstractMainNode2D:: 
"+s); }
 
@@ -246,6 +246,12 @@
     public void chgFast(VobScene oldVobScene) {
         clipPan();
         setZoomPan(oldVobScene, box2screen);
+
+       View2D view = getView2D();
+       while (view.getChildView2D() != null) 
+           view = view.getChildView2D();
+        if (view instanceof FastView)
+            ((FastView)view).chgFast(oldVobScene);
     }
 
     public Object getNodeOnPlane(VobScene oldVobScene, float x, float y) {




reply via email to

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