Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20569/src/net/sourceforge/bprocessor/gl/view
Modified Files:
View.java
Log Message:
Removed IGNORE flag
Index: View.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v
retrieving revision 1.188
retrieving revision 1.189
diff -C2 -d -r1.188 -r1.189
*** View.java 20 Feb 2007 15:16:38 -0000 1.188
--- View.java 21 Feb 2007 14:57:24 -0000 1.189
***************
*** 95,101 ****
public static final int SUPPORT = 4;
- /** IGNORE */
- public static final boolean IGNORE = true;
-
/** the color of the x axis */
public static final float[] X_AXIS_COLOR = new float[] {0.1f, 0.8f, 0.1f};
--- 95,98 ----
***************
*** 1489,1515 ****
while (iter.hasNext()) {
Edge current = (Edge)iter.next();
! if (IGNORE || !(highligts.contains(current) || current == target)) {
! float[] color = (float[])colorMap.get(current);
! if (color != null) {
! gl.glColor3fv(color, 0);
! if (current.getStrippled()) {
! drawConstructor(current);
! } else {
! drawEdge(current);
! }
! gl.glColor3fv(lineColor, 0);
! } else if (current.getStrippled()) {
! gl.glColor3fv(constructorColor, 0);
drawConstructor(current);
- gl.glColor3fv(lineColor, 0);
} else {
- if (dodge) {
- gl.glColor3fv(GREY_LINE_COLOR, 0);
- }
drawEdge(current);
}
if (dodge) {
! gl.glColor3fv(lineColor, 0);
}
}
}
--- 1486,1510 ----
while (iter.hasNext()) {
Edge current = (Edge)iter.next();
! float[] color = (float[])colorMap.get(current);
! if (color != null) {
! gl.glColor3fv(color, 0);
! if (current.getStrippled()) {
drawConstructor(current);
} else {
drawEdge(current);
}
+ gl.glColor3fv(lineColor, 0);
+ } else if (current.getStrippled()) {
+ gl.glColor3fv(constructorColor, 0);
+ drawConstructor(current);
+ gl.glColor3fv(lineColor, 0);
+ } else {
if (dodge) {
! gl.glColor3fv(GREY_LINE_COLOR, 0);
}
+ drawEdge(current);
+ }
+ if (dodge) {
+ gl.glColor3fv(lineColor, 0);
}
}
|