Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv802/src/net/sourceforge/bprocessor/gl/view
Modified Files:
Display.java
Log Message:
point sizes changed
Index: Display.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/Display.java,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** Display.java 15 Oct 2007 11:45:45 -0000 1.36
--- Display.java 17 Oct 2007 11:08:56 -0000 1.37
***************
*** 49,52 ****
--- 49,53 ----
private static final boolean TRUE = true;
+
private static boolean initialized;
private static boolean selecting;
***************
*** 71,74 ****
--- 72,78 ----
private static Space active;
+
+ private static float hilitesize = 9.0f;
+ private static float normalsize = 7.0f;
private static float[] white = new float[] {1.0f, 1.0f, 1.0f};
private static float[] black = new float[] {0.0f, 0.0f, 0.0f};
***************
*** 917,921 ****
color = black;
}
! paintVertices(vertices, color, 9.0f);
}
}
--- 921,925 ----
color = black;
}
! paintVertices(vertices, color, normalsize);
}
}
***************
*** 968,978 ****
for (Geometric current : geometrics) {
if (current instanceof Vertex) {
if (current.getOwner() != null) {
! paint((Vertex) current, redish, 9.0f);
} else {
if (targetColor != null) {
! paint((Vertex) current, targetColor, 6.0f);
} else {
! paint((Vertex) current, blueish, 6.0f);
}
}
--- 972,986 ----
for (Geometric current : geometrics) {
if (current instanceof Vertex) {
+ float size = normalsize;
+ if (current == target) {
+ size = hilitesize;
+ }
if (current.getOwner() != null) {
! paint((Vertex) current, redish, size);
} else {
if (targetColor != null) {
! paint((Vertex) current, targetColor, size);
} else {
! paint((Vertex) current, blueish, size);
}
}
***************
*** 1099,1103 ****
color = middleblue;
}
! paint(current, color, 9.0f);
}
}
--- 1107,1111 ----
color = middleblue;
}
! paint(current, color, normalsize);
}
}
|