boxHeight = Math.round((float) vpheight * sequencesHeight / alheight);
}
+ /**
+ * Answers if a mouse position is in the overview's red box
+ *
+ * @param x
+ * mouse x position
+ * @param y
+ * mouse y position
+ * @return true if (x,y) is inside the box
+ */
+ public boolean isPositionInBox(int x, int y)
+ {
+ return (x > boxX && y > boxY && boxX + x < boxWidth
+ && boxY + y < boxHeight);
+ }
+
+ public void setMousePosition(int x, int y)
+ {
+
+ }
++
+ protected abstract int getLeftXFromCentreX(int mousex, HiddenColumns hidden);
+
+ protected abstract int getTopYFromCentreY(int mousey,
+ HiddenSequences hidden);
++
}