summaryrefslogtreecommitdiff
path: root/apps/plugins/jpeg.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-03-25 19:43:08 +0000
committerJens Arnold <amiconn@rockbox.org>2008-03-25 19:43:08 +0000
commit9a7978aeabadc50c6049c5cd150b572ec9bd9e87 (patch)
tree2d22815d61277d495957ced0d1b25ceb19adac08 /apps/plugins/jpeg.c
parent38ed90128439bd7cd20038a69032f1f3eddaca04 (diff)
downloadrockbox-9a7978aeabadc50c6049c5cd150b572ec9bd9e87.tar.gz
rockbox-9a7978aeabadc50c6049c5cd150b572ec9bd9e87.zip
Cabbiev2 gigabeat background: reduce WPS backdrop filesize by storing it as 24 bit BMP instead of unnecessary 32 bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16802 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/jpeg.c')
-rw-r--r--apps/plugins/jpeg.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c
index e2c1b4861b..fcef31f5fd 100644
--- a/apps/plugins/jpeg.c
+++ b/apps/plugins/jpeg.c
@@ -198,6 +198,18 @@ PLUGIN_HEADER
198#define JPEG_NEXT (BUTTON_DISPLAY | BUTTON_RIGHT) 198#define JPEG_NEXT (BUTTON_DISPLAY | BUTTON_RIGHT)
199#define JPEG_PREVIOUS (BUTTON_DISPLAY | BUTTON_LEFT) 199#define JPEG_PREVIOUS (BUTTON_DISPLAY | BUTTON_LEFT)
200 200
201#elif CONFIG_KEYPAD == IAUDIO_M3_PAD
202#define JPEG_ZOOM_IN_PRE BUTTON_RC_PLAY
203#define JPEG_ZOOM_IN (BUTTON_RC_PLAY|BUTTON_REL)
204#define JPEG_ZOOM_OUT (BUTTON_RC_PLAY|BUTTON_REPEAT)
205#define JPEG_UP BUTTON_RC_VOL_UP
206#define JPEG_DOWN BUTTON_RC_VOL_DOWN
207#define JPEG_LEFT BUTTON_RC_REW
208#define JPEG_RIGHT BUTTON_RC_FF
209#define JPEG_MENU BUTTON_RC_REC
210#define JPEG_NEXT BUTTON_RC_MODE
211#define JPEG_PREVIOUS BUTTON_RC_MENU
212
201#elif CONFIG_KEYPAD == COWOND2_PAD 213#elif CONFIG_KEYPAD == COWOND2_PAD
202#define JPEG_ZOOM_IN BUTTON_PLUS 214#define JPEG_ZOOM_IN BUTTON_PLUS
203#define JPEG_ZOOM_OUT BUTTON_MINUS 215#define JPEG_ZOOM_OUT BUTTON_MINUS