if (i == BUTTON_SEQUENCE.length) return -1;
	private int getToolFromCoord(int x) {		int offset = 0;		int i=0;		while (offset < x) {			offset += getButtonWidth(BUTTON_SEQUENCE[i]);			i++;			if (i == BUTTON_SEQUENCE.length) return -1;		}		return BUTTON_SEQUENCE[i-1];	}