diff options
| author | Hristo Kovachev <bger@rockbox.org> | 2006-04-03 08:51:08 +0000 |
|---|---|---|
| committer | Hristo Kovachev <bger@rockbox.org> | 2006-04-03 08:51:08 +0000 |
| commit | 38deb8f13a9896f2d6eb884c6a8bbc9b10001255 (patch) | |
| tree | 6e0b2629bec1f6ebd83671230652da304dcf0ff8 /apps/plugin.c | |
| parent | defbc69b2b2a576d06e718deef73aa41b5376390 (diff) | |
| download | rockbox-38deb8f13a9896f2d6eb884c6a8bbc9b10001255.zip rockbox-38deb8f13a9896f2d6eb884c6a8bbc9b10001255.tar.gz rockbox-38deb8f13a9896f2d6eb884c6a8bbc9b10001255.tar.bz2 rockbox-38deb8f13a9896f2d6eb884c6a8bbc9b10001255.tar.xz | |
Patch #4864 by Jonathan Gordon: text editor plugin, with some changes by me.
Also correct a var clash between the rockbox's gui api and doom plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9451 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 6cbda49..57bc095 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -52,6 +52,7 @@ #include "sound.h" #include "database.h" #include "splash.h" +#include "list.h" #if (CONFIG_CODEC == SWCODEC) #include "pcm_playback.h" #include "dsp.h" @@ -412,6 +413,27 @@ static const struct plugin_api rockbox_api = { vsnprintf, memchr, + /* list */ + gui_synclist_init, + gui_synclist_set_nb_items, + gui_synclist_set_icon_callback, + gui_synclist_get_nb_items, + gui_synclist_get_sel_pos, + gui_synclist_draw, + gui_synclist_select_item, + gui_synclist_select_next, + gui_synclist_select_previous, + gui_synclist_select_next_page, + gui_synclist_select_previous_page, + gui_synclist_add_item, + gui_synclist_del_item, + gui_synclist_limit_scroll, + gui_synclist_flash, +#ifdef HAVE_LCD_BITMAP + gui_synclist_scroll_right, + gui_synclist_scroll_left, +#endif + gui_synclist_do_button, }; int plugin_load(const char* plugin, void* parameter) |