/[gzz]/gzz/gzz/view/LollipopCellView.java
ViewVC logotype

Diff of /gzz/gzz/view/LollipopCellView.java

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

revision 1.10 by tjl, Fri Feb 21 20:02:44 2003 UTC revision 1.11 by humppake, Mon Mar 3 13:14:38 2003 UTC
# Line 71  public static final String rcsid = "$Id$ Line 71  public static final String rcsid = "$Id$
71              throw new NullPointerException("clone dim not set in LollipopCellView");              throw new NullPointerException("clone dim not set in LollipopCellView");
72                            
73          /** Uses ColoredSectorVob as the ball. */          /** Uses ColoredSectorVob as the ball. */
74          final ColoredSectorVob bg = new ColoredSectorVob(45, 270, 10);          final ColoredSectorVob bg = new ColoredSectorVob();
75            final RectBgVob stencil = new RectBgVob();
76    
77          List cursorColors = context.getCursorColors(c);          List cursorColors = context.getCursorColors(c);
78          if(cursorColors != null)          if(cursorColors != null)
# Line 99  public static final String rcsid = "$Id$ Line 100  public static final String rcsid = "$Id$
100                                               boxwh[1] - 2*pad);                                               boxwh[1] - 2*pad);
101    
102          /** Coordsys to make ColoredSectorVob look circle and at          /** Coordsys to make ColoredSectorVob look circle and at
103           * right place of cell's Box. Currently "right place"           * right place of cell's Box.
          * is in the middle.  
104           */           */
105          final int ballBox = vs.scaleCS(box, "ball", diameter, diameter);          final int ballBox = vs.scaleCS(box, "ball", diameter, diameter);
106    
# Line 133  public static final String rcsid = "$Id$ Line 133  public static final String rcsid = "$Id$
133              gzz.gfx.gl.Stencil.drawStenciled(              gzz.gfx.gl.Stencil.drawStenciled(
134                  vs,                  vs,
135                  new Runnable() { public void run() {                  new Runnable() { public void run() {
136                      vs.map.put(bg, box);                      vs.map.put(stencil, box);
137                  }},                  }},
138                  null,                  null,
139                  null,                  null,

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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