From 38deb8f13a9896f2d6eb884c6a8bbc9b10001255 Mon Sep 17 00:00:00 2001 From: Hristo Kovachev Date: Mon, 3 Apr 2006 08:51:08 +0000 Subject: 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 --- apps/gui/list.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'apps/gui/list.h') diff --git a/apps/gui/list.h b/apps/gui/list.h index e72e00c5d1..48b7a5e0fc 100644 --- a/apps/gui/list.h +++ b/apps/gui/list.h @@ -337,14 +337,10 @@ extern void gui_synclist_init( ); extern void gui_synclist_set_nb_items(struct gui_synclist * lists, int nb_items); extern void gui_synclist_set_icon_callback(struct gui_synclist * lists, list_get_icon icon_callback); -#define gui_synclist_get_nb_items(lists) \ - gui_list_get_nb_items(&((lists)->gui_list[0])) +extern int gui_synclist_get_nb_items(struct gui_synclist * lists); extern int gui_synclist_get_sel_pos(struct gui_synclist * lists); -#define gui_synclist_get_sel_pos(lists) \ - gui_list_get_sel_pos(&((lists)->gui_list[0])) - extern void gui_synclist_draw(struct gui_synclist * lists); extern void gui_synclist_select_item(struct gui_synclist * lists, int item_number); -- cgit v1.2.3