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

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

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

revision 1.3 by mudyc, Wed Apr 30 01:00:00 2003 UTC revision 1.4 by mudyc, Sat May 3 00:57:00 2003 UTC
# Line 16  import java.awt.event.MouseEvent; Line 16  import java.awt.event.MouseEvent;
16   */   */
17  public class NodeType2DFull extends AbstractNodeType2D {  public class NodeType2DFull extends AbstractNodeType2D {
18      public static boolean dbg = false;      public static boolean dbg = false;
19      private static void pa(String s) { System.out.println(s); }      private static void pa(String s) { System.out.println("NodeType2DFull:: "+s); }
20    
21      public static int effigy = 0;      public static int effigy = 0;
22    
# Line 36  public class NodeType2DFull extends Abst Line 36  public class NodeType2DFull extends Abst
36      float [] tmpSqSize = new float[2];      float [] tmpSqSize = new float[2];
37      public int renderBuoy(VobScene vs, int into, Object linkId,      public int renderBuoy(VobScene vs, int into, Object linkId,
38                            Object anchor, Object cachedSize) {                            Object anchor, Object cachedSize) {
39            if (dbg) pa("renderBuoy");
40          if(effigy != 0) {          if(effigy != 0) {
41              Vob eff = org.nongnu.libvob.gl.GLRen.createQuad(effigy-1, 0,0);              Vob eff = org.nongnu.libvob.gl.GLRen.createQuad(effigy-1, 0,0);
42              vs.map.put( eff, into);              vs.map.put( eff, into);
# Line 60  public class NodeType2DFull extends Abst Line 61  public class NodeType2DFull extends Abst
61    
62          view2d.render(vs, plane, into, into, box2paper);          view2d.render(vs, plane, into, into, box2paper);
63    
64            if (dbg) pa("renderBuoy..DONE");
65          return vs.coords.translate(into, rect.x / scale, rect.y / scale);          return vs.coords.translate(into, rect.x / scale, rect.y / scale);
66      }      }
67  }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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