From 547e028b93cdc279d4ee871b94aac5701534cb28 Mon Sep 17 00:00:00 2001 From: Yotam Barnoy Date: Fri, 29 Oct 2010 07:55:18 +0000 Subject: PSP: Improved image viewer movement Before the limit was arbitrary. Now we check the proper location on screen and move in increments relative to the size on screen. svn-id: r53918 --- backends/platform/psp/image_viewer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/platform/psp/image_viewer.h') diff --git a/backends/platform/psp/image_viewer.h b/backends/platform/psp/image_viewer.h index 1946b0ffe2..ef8b196dbe 100644 --- a/backends/platform/psp/image_viewer.h +++ b/backends/platform/psp/image_viewer.h @@ -66,8 +66,8 @@ private: void loadLastImage(); void setViewerButtons(bool active); void setConstantRendererOptions(); - void moveImageX(int val); - void moveImageY(int val); + void moveImageX(float val); + void moveImageY(float val); bool load(int imageNum); void unload(); void runLoop(); // to get total pausing we have to do our own loop -- cgit v1.2.3