Skip to content
Snippets Groups Projects
Commit e604f6fa authored by tjc's avatar tjc
Browse files

change colours for reverse frames

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@2087 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 2adca26a
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/plot/BaseAlgorithm.java,v 1.4 2004-11-29 17:28:04 tjc Exp $ * $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/plot/BaseAlgorithm.java,v 1.5 2004-11-30 11:27:50 tjc Exp $
*/ */
package uk.ac.sanger.artemis.plot; package uk.ac.sanger.artemis.plot;
...@@ -38,7 +38,7 @@ import java.awt.BasicStroke; ...@@ -38,7 +38,7 @@ import java.awt.BasicStroke;
* Strand of DNA, meaning the algorithm can't change strand part way along. * Strand of DNA, meaning the algorithm can't change strand part way along.
* *
* @author Kim Rutherford * @author Kim Rutherford
* @version $Id: BaseAlgorithm.java,v 1.4 2004-11-29 17:28:04 tjc Exp $ * @version $Id: BaseAlgorithm.java,v 1.5 2004-11-30 11:27:50 tjc Exp $
**/ **/
public abstract class BaseAlgorithm extends Algorithm public abstract class BaseAlgorithm extends Algorithm
...@@ -152,35 +152,35 @@ public abstract class BaseAlgorithm extends Algorithm ...@@ -152,35 +152,35 @@ public abstract class BaseAlgorithm extends Algorithm
switch(frame) switch(frame)
{ {
case 0: case 0:
g2d.setColor(frameColour[1]); g2d.setColor(frameColour[0]);
g2d.drawLine(font_width*2, lineHgt, font_width*4, lineHgt); g2d.drawLine(font_width*2, lineHgt, font_width*4, lineHgt);
g2d.setColor(frameColour[2]); g2d.setColor(frameColour[2]);
g2d.drawLine(font_width*7, lineHgt, font_width*9, lineHgt); g2d.drawLine(font_width*7, lineHgt, font_width*9, lineHgt);
g2d.setColor(frameColour[0]); g2d.setColor(frameColour[1]);
g2d.drawLine(font_width*12, lineHgt, font_width*14, lineHgt); g2d.drawLine(font_width*12, lineHgt, font_width*14, lineHgt);
g2d.setStroke(stroke); g2d.setStroke(stroke);
return; return;
case 1: case 1:
g2d.setColor(frameColour[0]); g2d.setColor(frameColour[2]);
g2d.drawLine(font_width*2, lineHgt, font_width*4, lineHgt); g2d.drawLine(font_width*2, lineHgt, font_width*4, lineHgt);
g2d.setColor(frameColour[1]); g2d.setColor(frameColour[1]);
g2d.drawLine(font_width*7, lineHgt, font_width*9, lineHgt); g2d.drawLine(font_width*7, lineHgt, font_width*9, lineHgt);
g2d.setColor(frameColour[2]); g2d.setColor(frameColour[0]);
g2d.drawLine(font_width*12, lineHgt, font_width*14, lineHgt); g2d.drawLine(font_width*12, lineHgt, font_width*14, lineHgt);
g2d.setStroke(stroke); g2d.setStroke(stroke);
return; return;
case 2: case 2:
g2d.setColor(frameColour[2]); g2d.setColor(frameColour[1]);
g2d.drawLine(font_width*2, lineHgt, font_width*4, lineHgt); g2d.drawLine(font_width*2, lineHgt, font_width*4, lineHgt);
g2d.setColor(frameColour[0]); g2d.setColor(frameColour[0]);
g2d.drawLine(font_width*7, lineHgt, font_width*9, lineHgt); g2d.drawLine(font_width*7, lineHgt, font_width*9, lineHgt);
g2d.setColor(frameColour[1]); g2d.setColor(frameColour[2]);
g2d.drawLine(font_width*12, lineHgt, font_width*14, lineHgt); g2d.drawLine(font_width*12, lineHgt, font_width*14, lineHgt);
g2d.setStroke(stroke); g2d.setStroke(stroke);
return; return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment