/[fenfire]/fenfire/org/fenfire/view/buoy/AbstractMainNode2D.java
ViewVC logotype

Diff of /fenfire/org/fenfire/view/buoy/AbstractMainNode2D.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.34 by mudyc, Sat Jul 19 12:55:10 2003 UTC revision 1.35 by tjl, Mon Jul 28 08:22:32 2003 UTC
# Line 26  AbstractMainNode2D.java Line 26  AbstractMainNode2D.java
26    
27  package org.fenfire.view.buoy;  package org.fenfire.view.buoy;
28  import org.fenfire.view.*;  import org.fenfire.view.*;
 import org.fenfire.view.lava.*;  
29  import org.fenfire.util.ControlBinding;  import org.fenfire.util.ControlBinding;
30    
31  import org.nongnu.libvob.*;  import org.nongnu.libvob.*;
# Line 39  import java.awt.event.MouseEvent; Line 38  import java.awt.event.MouseEvent;
38   *  a View2D. This class implements the keyboard and mouse   *  a View2D. This class implements the keyboard and mouse
39   *  command for moving on the spatial plane.   *  command for moving on the spatial plane.
40   */   */
41  public abstract class AbstractMainNode2D implements BuoyViewMainNode, FastView {  public abstract class AbstractMainNode2D implements BuoyViewMainNode,
42            org.fenfire.view.lava.FastView {
43      public static boolean dbg = false;      public static boolean dbg = false;
44      private static void p(String s) { System.out.println("AbstractMainNode2D:: "+s); }      private static void p(String s) { System.out.println("AbstractMainNode2D:: "+s); }
45    
# Line 275  public abstract class AbstractMainNode2D Line 275  public abstract class AbstractMainNode2D
275          if (dbg) p("key: "+realKey);          if (dbg) p("key: "+realKey);
276          View2D view = getView2D();          View2D view = getView2D();
277          while (view != null) {          while (view != null) {
278              if (view instanceof FastView)              if (view instanceof org.fenfire.view.lava.FastView)
279                  /** Jams the machine if called.                  /** Jams the machine if called.
280                   * ''Single Multiple'' views makes things awful.                   * ''Single Multiple'' views makes things awful.
281                   *                   *
282                   * ...working on a better solution.                   * ...working on a better solution.
283                   */                   */
284                  ((FastView)view).chgFast(oldVobScene, realKey);                  ((org.fenfire.view.lava.FastView)view)
285                            .chgFast(oldVobScene, realKey);
286              view = view.getChildView2D();              view = view.getChildView2D();
287          }          }
288      }      }

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26