Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv9240/src/net/sourceforge/bprocessor/gl/view
Modified Files:
View.java
Log Message:
Changed drawing of target when using AbstractPencil tools
Index: View.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v
retrieving revision 1.138
retrieving revision 1.139
diff -C2 -d -r1.138 -r1.139
*** View.java 14 Aug 2006 14:06:43 -0000 1.138
--- View.java 15 Aug 2006 09:51:14 -0000 1.139
***************
*** 119,125 ****
public static final float[] EDGE_MIDPOINT_COLOR = new float[] {0.1f, 0.8f, 0.8f};
! /** Used for vertices on edge-intersections */
public static final float[] EDGE_INTERSECTION_COLOR = new float[] {0.8f, 0.1f, 0.8f};
/** Used for constructor objects */
public static final float [] CONSTRUCTOR_COLOR = new float[] {0.8f, 0.7f, 0.6f, 0.50f};
--- 119,133 ----
public static final float[] EDGE_MIDPOINT_COLOR = new float[] {0.1f, 0.8f, 0.8f};
! /** Used for vertices on edge-intersections (edge/edge or edge/surface) */
public static final float[] EDGE_INTERSECTION_COLOR = new float[] {0.8f, 0.1f, 0.8f};
+ /** Used for vertices on surface */
+ public static final float[] SURFACE_ON_COLOR = new float[] {0.6f, 0.2f, 0.1f};
+
+ /** Used for vertices on edges */
+ public static final float[] EDGE_ON_COLOR = new float[] {0.2f, 0.3f, 0.6f};
+
+
+
/** Used for constructor objects */
public static final float [] CONSTRUCTOR_COLOR = new float[] {0.8f, 0.7f, 0.6f, 0.50f};
***************
*** 2333,2337 ****
} else {
if (edge != null) {
! {
Vertex m = edge.getFrom().add(edge.getTo());
m.scale(0.5);
--- 2341,2345 ----
} else {
if (edge != null) {
! if (!edge.getStrippled()) {
Vertex m = edge.getFrom().add(edge.getTo());
m.scale(0.5);
|