if (pb != null) { if (pb.contains(e.getX(), e.getY())) { if (!initialPressedSoftButton.isPressed()) { initialPressedSoftButton.setPressed(true); repaintRequest(pb.x, pb.y, pb.width, pb.height); if (initialPressedSoftButton.isPressed()) { initialPressedSoftButton.setPressed(false); repaintRequest(pb.x, pb.y, pb.width, pb.height);
if (device.hasPointerEvents()) { if (!fullScreenMode) { if (initialPressedSoftButton != null && initialPressedSoftButton.isPressed()) { initialPressedSoftButton.setPressed(false); org.microemu.device.impl.Rectangle pb = initialPressedSoftButton.getPaintable();
if (pb != null) { if (pb.contains(e.x - rect.x, e.y - rect.y)) { if (!initialPressedSoftButton.isPressed()) { initialPressedSoftButton.setPressed(true); dc.repaintRequest(pb.x, pb.y, pb.width, pb.height); if (initialPressedSoftButton.isPressed()) { initialPressedSoftButton.setPressed(false); dc.repaintRequest(pb.x, pb.y, pb.width, pb.height);
if (device.hasPointerEvents()) { if (!fullScreenMode) { if (initialPressedSoftButton != null && initialPressedSoftButton.isPressed()) { initialPressedSoftButton.setPressed(false); org.microemu.device.impl.Rectangle pb = initialPressedSoftButton.getPaintable();