summaryrefslogtreecommitdiff
path: root/apps/plugins/jpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/jpeg.c')
-rw-r--r--apps/plugins/jpeg.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c
index d760812b86..f705271240 100644
--- a/apps/plugins/jpeg.c
+++ b/apps/plugins/jpeg.c
@@ -26,7 +26,15 @@
26#ifndef SIMULATOR /* not for simulator by now */ 26#ifndef SIMULATOR /* not for simulator by now */
27#include "plugin.h" 27#include "plugin.h"
28 28
29#ifdef HAVE_LCD_BITMAP /* and also not for the Player */ 29#if CONFIG_LCD == LCD_SSD1815 /* only for Recorder/Ondio displays */
30/*
31 FIX:
32
33 This would be a lot nicer if it depended on HAVE_LCD_BITMAP only, but we
34 need to fix the grayscale lib for Gmini and iRiver. Either with true
35 grayscale or 1bit.
36
37*/
30#include "gray.h" 38#include "gray.h"
31 39
32/* variable button definitions */ 40/* variable button definitions */
@@ -39,6 +47,10 @@
39#define JPEG_ZOOM_IN (BUTTON_MENU | BUTTON_REL) 47#define JPEG_ZOOM_IN (BUTTON_MENU | BUTTON_REL)
40#define JPEG_ZOOM_OUT (BUTTON_MENU | BUTTON_REPEAT) 48#define JPEG_ZOOM_OUT (BUTTON_MENU | BUTTON_REPEAT)
41 49
50#elif CONFIG_KEYPAD == IRIVER_H100_PAD
51#define JPEG_ZOOM_IN BUTTON_ON
52#define JPEG_ZOOM_OUT BUTTON_SELECT
53
42#endif 54#endif
43 55
44/******************************* Globals ***********************************/ 56/******************************* Globals ***********************************/