diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2005-02-04 12:41:09 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2005-02-04 12:41:09 +0000 |
| commit | 6700ad8f206d0beba92e22680504ae6ba2b7d74c (patch) | |
| tree | 1eba76a3a966d2a38e1819157917918b7721ff0b /apps/plugins/jpeg.c | |
| parent | 3fcfdffe88025a943f9c72f7b86363dc08edaecd (diff) | |
| download | rockbox-6700ad8f206d0beba92e22680504ae6ba2b7d74c.zip rockbox-6700ad8f206d0beba92e22680504ae6ba2b7d74c.tar.gz rockbox-6700ad8f206d0beba92e22680504ae6ba2b7d74c.tar.bz2 rockbox-6700ad8f206d0beba92e22680504ae6ba2b7d74c.tar.xz | |
adapted to build on iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5784 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/jpeg.c')
| -rw-r--r-- | apps/plugins/jpeg.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c index d760812..f705271 100644 --- a/apps/plugins/jpeg.c +++ b/apps/plugins/jpeg.c @@ -26,7 +26,15 @@ #ifndef SIMULATOR /* not for simulator by now */ #include "plugin.h" -#ifdef HAVE_LCD_BITMAP /* and also not for the Player */ +#if CONFIG_LCD == LCD_SSD1815 /* only for Recorder/Ondio displays */ +/* + FIX: + + This would be a lot nicer if it depended on HAVE_LCD_BITMAP only, but we + need to fix the grayscale lib for Gmini and iRiver. Either with true + grayscale or 1bit. + +*/ #include "gray.h" /* variable button definitions */ @@ -39,6 +47,10 @@ #define JPEG_ZOOM_IN (BUTTON_MENU | BUTTON_REL) #define JPEG_ZOOM_OUT (BUTTON_MENU | BUTTON_REPEAT) +#elif CONFIG_KEYPAD == IRIVER_H100_PAD +#define JPEG_ZOOM_IN BUTTON_ON +#define JPEG_ZOOM_OUT BUTTON_SELECT + #endif /******************************* Globals ***********************************/ |