Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27930
Modified Files:
Tool.java
Log Message:
added tape measure tool
Index: Tool.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/Tool.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** Tool.java 18 Nov 2005 01:27:56 -0000 1.12
--- Tool.java 29 Nov 2005 19:01:12 -0000 1.13
***************
*** 18,21 ****
--- 18,23 ----
*/
public interface Tool extends MouseListener, MouseMotionListener, KeyListener, MouseWheelListener {
+ /** The prevoius tool (the tool used before this one) */
+ public static final int PREVIOUS_TOOL = -1;
/** The select tool */
public static final int SELECT_TOOL = 0;
***************
*** 30,35 ****
/** The Rotation tool */
public static final int ROTATION_TOOL = 5;
! /** The prevoius tool (the tool used before this one) */
! public static final int PREVIOUS_TOOL = 6;
/**
--- 32,38 ----
/** The Rotation tool */
public static final int ROTATION_TOOL = 5;
! /** The Tape Measure tool */
! public static final int TAPE_MEASURE_TOOL = 6;
!
/**
|