summaryrefslogtreecommitdiff
path: root/apps/gui/list.c
diff options
context:
space:
mode:
authorHristo Kovachev <bger@rockbox.org>2006-04-03 08:51:08 +0000
committerHristo Kovachev <bger@rockbox.org>2006-04-03 08:51:08 +0000
commit38deb8f13a9896f2d6eb884c6a8bbc9b10001255 (patch)
tree6e0b2629bec1f6ebd83671230652da304dcf0ff8 /apps/gui/list.c
parentdefbc69b2b2a576d06e718deef73aa41b5376390 (diff)
downloadrockbox-38deb8f13a9896f2d6eb884c6a8bbc9b10001255.tar.gz
rockbox-38deb8f13a9896f2d6eb884c6a8bbc9b10001255.zip
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/gui/list.c')
-rw-r--r--apps/gui/list.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index 8ca3042a4b..d0117d7c03 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -491,6 +491,14 @@ void gui_synclist_set_nb_items(struct gui_synclist * lists, int nb_items)
491#endif 491#endif
492 } 492 }
493} 493}
494int gui_synclist_get_nb_items(struct gui_synclist * lists)
495{
496 return gui_list_get_nb_items(&((lists)->gui_list[0]));
497}
498int gui_synclist_get_sel_pos(struct gui_synclist * lists)
499{
500 return gui_list_get_sel_pos(&((lists)->gui_list[0]));
501}
494void gui_synclist_set_icon_callback(struct gui_synclist * lists, list_get_icon icon_callback) 502void gui_synclist_set_icon_callback(struct gui_synclist * lists, list_get_icon icon_callback)
495{ 503{
496 int i; 504 int i;