/[fenfire]/fenfire/org/fenfire/fenmm/WhiteNodeView.java
ViewVC logotype

Diff of /fenfire/org/fenfire/fenmm/WhiteNodeView.java

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

revision 1.2 by humppake, Mon Aug 18 13:07:16 2003 UTC revision 1.3 by humppake, Tue Aug 19 09:34:24 2003 UTC
# Line 1  Line 1 
1  // (c): Matti J. Katila  // (c): Matti J. Katila
2    
3  package org.fenfire.fenmm;  package org.fenfire.fenmm;
4  import org.fenfire.swamp.*;  
5  import org.nongnu.libvob.*;  import org.fenfire.swamp.PureNodeFunction;
6  import org.nongnu.libvob.lava.placeable.*;  import org.fenfire.swamp.ConstGraph;
7  import org.nongnu.libvob.gl.*;  import org.nongnu.libvob.lava.placeable.TextPlaceable;
8    import org.nongnu.libvob.VobScene;
9    import org.nongnu.libvob.gl.GLRen;
10    import org.nongnu.libvob.gl.Paper;
11    import org.nongnu.libvob.gl.SpecialPapers;
12    
13  import java.awt.Color;  import java.awt.Color;
14    
15  /** Must be placed before TextPlaceable node function XXX  /**  
16     * Translucent rectangular background for TextNodeView.
17     * XXX: Must be placed before TextPlaceable node function.
18   */   */
19  public class WhiteNodeView implements PureNodeFunction {  public class WhiteNodeView implements PureNodeFunction {
20    
# Line 30  public class WhiteNodeView implements Pu Line 36  public class WhiteNodeView implements Pu
36                  public void place(VobScene vs, int cs) {                  public void place(VobScene vs, int cs) {
37                      int cs2 = vs.orthoCS(cs, key,0, 0,0, p.getWidth(), p.getHeight());                      int cs2 = vs.orthoCS(cs, key,0, 0,0, p.getWidth(), p.getHeight());
38                      vs.put(pq, cs2);                      vs.put(pq, cs2);
   
39                      p.place(vs, cs);                      p.place(vs, cs);
40                  }                  }
41                                    

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

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