forked from len0rd/rockbox
To avoid having to use the main unit when accidentally launching a plugin from the remote, plugins now support remote quit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10157 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7bbf53eae5
commit
0e027bd90c
39 changed files with 276 additions and 26 deletions
|
@ -74,6 +74,7 @@ PLUGIN_HEADER
|
|||
#define JPEG_PREVIOUS BUTTON_ON
|
||||
#endif
|
||||
#define JPEG_MENU BUTTON_OFF
|
||||
#define JPEG_RC_MENU BUTTON_RC_STOP
|
||||
|
||||
#elif (CONFIG_KEYPAD == IPOD_3G_PAD) || (CONFIG_KEYPAD == IPOD_4G_PAD)
|
||||
#define JPEG_ZOOM_IN BUTTON_SCROLL_FWD
|
||||
|
@ -2287,7 +2288,9 @@ int scroll_bmp(struct t_disp* pdisp)
|
|||
#endif
|
||||
return ZOOM_OUT;
|
||||
break;
|
||||
|
||||
#ifdef JPEG_RC_MENU
|
||||
case JPEG_RC_MENU:
|
||||
#endif
|
||||
case JPEG_MENU:
|
||||
#ifdef USEGSLIB
|
||||
gray_show(false); /* switch off grayscale overlay */
|
||||
|
@ -2559,7 +2562,9 @@ int load_and_show(char* filename)
|
|||
rb->plugin_get_audio_buffer(&buf_images_size);
|
||||
/*try again this file, now using the audio buffer */
|
||||
return PLUGIN_OTHER;
|
||||
|
||||
#ifdef JPEG_RC_MENU
|
||||
case JPEG_RC_MENU:
|
||||
#endif
|
||||
case JPEG_MENU:
|
||||
return PLUGIN_OK;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue