Patch #5056 by Jonathan Gordon, with rework and additions by me: Updated Viewer plugin. Replaces annoying mode-toggle key-combos with a settings menu, including a new 'Scroll by Line' option. I've also added a 'hands-free' auto-scroll feature and added lcd_setmargins to the plugin API, since we need it here.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9844 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Zakk Roberts 2006-05-01 05:45:18 +00:00
parent 0d6b5557a1
commit 07fcf77cb0
3 changed files with 354 additions and 394 deletions

View file

@ -434,6 +434,10 @@ static const struct plugin_api rockbox_api = {
gui_synclist_scroll_left,
#endif
gui_synclist_do_button,
#ifdef HAVE_LCD_BITMAP
lcd_setmargins,
#endif
};
int plugin_load(const char* plugin, void* parameter)

View file

@ -510,6 +510,10 @@ struct plugin_api {
void (*gui_synclist_scroll_left)(struct gui_synclist * lists);
#endif
unsigned (*gui_synclist_do_button)(struct gui_synclist * lists, unsigned button);
#ifdef HAVE_LCD_BITMAP
void (*lcd_setmargins)(int x, int y);
#endif
};
/* plugin header */

File diff suppressed because it is too large Load diff