summaryrefslogtreecommitdiff
path: root/apps/gui/list.h
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2006-07-02 12:28:27 +0000
committerKevin Ferrare <kevin@rockbox.org>2006-07-02 12:28:27 +0000
commitf77ac7a6a7e19aa20bdeb10bd006ad1a8c147f76 (patch)
treee3d2b4912b5e810ec63f109bc112b1d05972d0e3 /apps/gui/list.h
parent31c7a453e1b852c48a9429be3ad23d4e85a2945f (diff)
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
Diffstat (limited to 'apps/gui/list.h')
-rw-r--r--apps/gui/list.h13
1 files changed, 11 insertions, 2 deletions
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);