canvas.drawLine(width * col, height * (row + 1), width * (col + 1),
height * (row + 1), cline);
- /*
- * // selRects Paint selected = new Paint();
- * selected.setColor(Color.CYAN); for (Pair<Integer, Integer> i :
- * uAnswer) { canvas.drawRect(i.second * width, i.first * height,
- * i.second width + width, i.first * height + height, selected); }
- */
-
// bits
Paint foreground = new Paint(Paint.ANTI_ALIAS_FLAG);
foreground.setColor(Color.GRAY);
if (check == opcol.length) {
return true;
}
- /*
- * // add user answer and inverse bit Pair<Integer, Integer> tmpAns
- * = new Pair<Integer, Integer>(selY, selX); if
- * (!uAnswer.remove(tmpAns)) { uAnswer.add(tmpAns); }
- */
if (bits[selY - 1][selX - 1].equals("0")) {
bits[selY - 1][selX - 1] = "1";
} else {