diff --git a/graphics/end_no.png b/graphics/end_no.png index 8e58f03..668c85c 100644 Binary files a/graphics/end_no.png and b/graphics/end_no.png differ diff --git a/graphics/end_yes.png b/graphics/end_yes.png index 959a12e..9c48da8 100644 Binary files a/graphics/end_yes.png and b/graphics/end_yes.png differ diff --git a/photobox.py b/photobox.py index 2218d73..ebc9f00 100755 --- a/photobox.py +++ b/photobox.py @@ -231,8 +231,8 @@ def waitForBegin(): # wait pos = waitForTouch() - if pos[0] > 720 and pos[1] > 400: - maintainance() + # if pos[0] > 720 and pos[1] > 400: + # maintainance() @@ -301,7 +301,7 @@ def chooseImages(): img = pygame.transform.scale(img, (THUMB_WIDTH, THUMB_HEIGHT)) rect = img.get_rect() rect.x = x - rect.y = 146 + rect.y = 120 img_tmp.append(img) rect_tmp.append(rect) @@ -337,7 +337,7 @@ def chooseImages(): (img, rect) = gfx["no"] rect.x = x + (THUMB_WIDTH - rect.width) / 2 - rect.y = 340 + rect.y = 300 screen.blit(img, rect) x = x + THUMB_WIDTH + BORDER @@ -347,13 +347,13 @@ def chooseImages(): # wait for new event (touch screen / mouse / keyboard) pos = waitForTouch() - if pos[1] > 140: + if pos[1] < 400: # toggle image i = int(floor((pos[0] - BORDER / 2) / (THUMB_WIDTH + BORDER))) if i >= 0 and i < SHOT_COUNT: choices[i] = (choices[i] + 1) % 2 - elif pos[1] < 100: + elif pos[1] > 420: # top menu buttons if pos[0] > 0 and pos[0] < 266: cancel = True