gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] gzz/gzz/view LollipopCellView.java


From: Asko Soukka
Subject: [Gzz-commits] gzz/gzz/view LollipopCellView.java
Date: Mon, 03 Mar 2003 08:14:38 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Asko Soukka <address@hidden>    03/03/03 08:14:38

Modified files:
        gzz/view       : LollipopCellView.java 

Log message:
        gfx/demo/

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/view/LollipopCellView.java.diff?tr1=1.10&tr2=1.11&r1=text&r2=text

Patches:
Index: gzz/gzz/view/LollipopCellView.java
diff -u gzz/gzz/view/LollipopCellView.java:1.10 
gzz/gzz/view/LollipopCellView.java:1.11
--- gzz/gzz/view/LollipopCellView.java:1.10     Fri Feb 21 15:02:44 2003
+++ gzz/gzz/view/LollipopCellView.java  Mon Mar  3 08:14:38 2003
@@ -45,7 +45,7 @@
 /** A factory for making ball-and-stick aka lollipop cell vobs. */
 
 public class LollipopCellView extends BoxCellView {
-public static final String rcsid = "$Id: LollipopCellView.java,v 1.10 
2003/02/21 20:02:44 tjl Exp $";
+public static final String rcsid = "$Id: LollipopCellView.java,v 1.11 
2003/03/03 13:14:38 humppake Exp $";
     public static boolean dbg = false;
     private static void pa(String s) { System.err.println(s); }
 
@@ -71,7 +71,8 @@
            throw new NullPointerException("clone dim not set in 
LollipopCellView");
             
        /** Uses ColoredSectorVob as the ball. */
-       final ColoredSectorVob bg = new ColoredSectorVob(45, 270, 10);
+       final ColoredSectorVob bg = new ColoredSectorVob();
+       final RectBgVob stencil = new RectBgVob();
 
        List cursorColors = context.getCursorColors(c);
        if(cursorColors != null)
@@ -99,8 +100,7 @@
                                             boxwh[1] - 2*pad);
 
        /** Coordsys to make ColoredSectorVob look circle and at 
-        * right place of cell's Box. Currently "right place"
-        * is in the middle.
+        * right place of cell's Box.
         */
        final int ballBox = vs.scaleCS(box, "ball", diameter, diameter);
 
@@ -133,7 +133,7 @@
            gzz.gfx.gl.Stencil.drawStenciled(
                vs,
                new Runnable() { public void run() {
-                    vs.map.put(bg, box);
+                    vs.map.put(stencil, box);
                }},
                null,
                null,




reply via email to

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