From f77ac7a6a7e19aa20bdeb10bd006ad1a8c147f76 Mon Sep 17 00:00:00 2001 From: Kevin Ferrare Date: Sun, 2 Jul 2006 12:28:27 +0000 Subject: added support remote support for the id3 infos screen (had to slightly change the list engine to use it here as well), corrected a mistake in the french translation git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10175 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/list.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'apps/gui/list.h') diff --git a/apps/gui/list.h b/apps/gui/list.h index 5658a1cd62..60a3651259 100644 --- a/apps/gui/list.h +++ b/apps/gui/list.h @@ -147,6 +147,11 @@ struct gui_list /* defines wether the list should stop when reaching the top/bottom * or should continue (by going to bottom/top) */ bool limit_scroll; + /* wether the text of the whole items of the list have to be + * scrolled or only for the selected item */ + bool scroll_all; + /* the number of lines that are selected at the same time */ + int selected_size; /* The data that will be passed to the callback function YOU implement */ void * data; }; @@ -162,7 +167,9 @@ struct gui_list */ extern void gui_list_init(struct gui_list * gui_list, list_get_name callback_get_item_name, - void * data + void * data, + bool scroll_all, + int selected_size ); /* @@ -329,7 +336,9 @@ struct gui_synclist extern void gui_synclist_init( struct gui_synclist * lists, list_get_name callback_get_item_name, - void * data + void * data, + bool scroll_all, + int selected_size ); 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); -- cgit v1.2.3