[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz ./TODO gzz/vob/OvalBgVob.java
From: |
Asko Soukka |
Subject: |
[Gzz-commits] gzz ./TODO gzz/vob/OvalBgVob.java |
Date: |
Fri, 18 Oct 2002 02:45:40 -0400 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Asko Soukka <address@hidden> 02/10/18 02:45:15
Modified files:
. : TODO
gzz/vob : OvalBgVob.java
Log message:
TODO
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/TODO.diff?tr1=1.298&tr2=1.299&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/vob/OvalBgVob.java.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
Patches:
Index: gzz/TODO
diff -c gzz/TODO:1.298 gzz/TODO:1.299
*** gzz/TODO:1.298 Wed Oct 16 16:58:38 2002
--- gzz/TODO Fri Oct 18 02:45:15 2002
***************
*** 126,131 ****
--- 126,133 ----
+ merge !!!
+ [GI03] irregu animations
+ [GI03] paper animations?
+ + new PEG about current PEG writing customs
+ - include restructuredtext rules (or link them from somewhere)
- overall document about the goals and visions for the project
- Main zz view:
- Clipping in awt
Index: gzz/gzz/vob/OvalBgVob.java
diff -c gzz/gzz/vob/OvalBgVob.java:1.1 gzz/gzz/vob/OvalBgVob.java:1.2
*** gzz/gzz/vob/OvalBgVob.java:1.1 Thu Oct 17 09:03:29 2002
--- gzz/gzz/vob/OvalBgVob.java Fri Oct 18 02:45:15 2002
***************
*** 1,3 ****
--- 1,4 ----
+
/*
OvalBgVob.java
*
***************
*** 39,45 ****
*/
public class OvalBgVob extends Vob {
! public static final String rcsid = "$Id: OvalBgVob.java,v 1.1 2002/10/17
13:03:29 humppake Exp $";
public static boolean dbg = false;
static final void p(String s) { if(dbg) System.out.println(s); }
static final void pa(String s) { System.out.println(s); }
--- 40,46 ----
*/
public class OvalBgVob extends Vob {
! public static final String rcsid = "$Id: OvalBgVob.java,v 1.2 2002/10/18
06:45:15 humppake Exp $";
public static boolean dbg = false;
static final void p(String s) { if(dbg) System.out.println(s); }
static final void pa(String s) { System.out.println(s); }
***************
*** 52,59 ****
if (!texLoaded) {
String[] texparam = {"type", "8"};
tex = GL.createTexture();
! /** !!! Should texture's size be relative to vob's physical size?
! * Then texture should be reloaded when greater needed.
*/
tex.shade(128, 128, 0, 1, "ALPHA", "ALPHA", "geometric", texparam);
texLoaded = true;
--- 53,61 ----
if (!texLoaded) {
String[] texparam = {"type", "8"};
tex = GL.createTexture();
! /** XXX Should texture's size be relative to vob's physical size?
! * If so, texture should be reloaded always when greater needed.
! * Currently texture is loaded only once.
*/
tex.shade(128, 128, 0, 1, "ALPHA", "ALPHA", "geometric", texparam);
texLoaded = true;
***************
*** 78,83 ****
--- 80,86 ----
mw = rect.width, mh = rect.height;
/** Origo and radius for circle.
+ * Irrelevant, when using drawOval ad fillOval.
Point co = new Point(mx+mw/2, my+h/2);
int cr;
if (mw < mh) cr = mw;
***************
*** 156,165 ****
"PushAttrib ENABLE_BIT\n"+
"BindTexture TEXTURE_2D "+tex.getTexId()+"\n"+
"Enable TEXTURE_2D\n"+
!
"Color 0 0 0 1\n" +
"Begin QUAD_STRIP\n"+
! /** !!! Border width probably should NOT be
* relative to vob's size as below.
*/
"TexCoord 1 1\nVertex 1.05 1.05\n"+
--- 159,169 ----
"PushAttrib ENABLE_BIT\n"+
"BindTexture TEXTURE_2D "+tex.getTexId()+"\n"+
"Enable TEXTURE_2D\n"+
!
! /** Draws border. */
"Color 0 0 0 1\n" +
"Begin QUAD_STRIP\n"+
! /** XXX Border width probably should NOT be
* relative to vob's size as below.
*/
"TexCoord 1 1\nVertex 1.05 1.05\n"+
***************
*** 168,173 ****
--- 172,178 ----
"TexCoord 0 0\nVertex -0.05 -0.05\n"+
"End\n" +
+ /** Draws filled oval using circular texture. */
bgcall +
"PopAttrib\n"