protected boolean containsPoint(Point p) { if (scrolling) return true; float ro = menu.getStyle().getF("f.roundOff"); buffRoundRect.setRoundRect(x, y, width, height, ro, ro); // buffRoundRect.setRoundRect(x + nOffset, y, nWidth, height, // menu.getStyle().roundOff, menu.getStyle().roundOff); return buffRoundRect.contains(p); }
protected boolean containsPoint(Point p) { float ro = getStyle().getF("f.roundOff"); buffRoundRect.setRoundRect(x, y, width, height, ro, ro); return buffRoundRect.contains(p); }