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)
downloadrockbox-f77ac7a6a7e19aa20bdeb10bd006ad1a8c147f76.tar.gz
rockbox-f77ac7a6a7e19aa20bdeb10bd006ad1a8c147f76.zip
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
147 /* defines wether the list should stop when reaching the top/bottom 147 /* defines wether the list should stop when reaching the top/bottom
148 * or should continue (by going to bottom/top) */ 148 * or should continue (by going to bottom/top) */
149 bool limit_scroll; 149 bool limit_scroll;
150 /* wether the text of the whole items of the list have to be
151 * scrolled or only for the selected item */
152 bool scroll_all;
153 /* the number of lines that are selected at the same time */
154 int selected_size;
150 /* The data that will be passed to the callback function YOU implement */ 155 /* The data that will be passed to the callback function YOU implement */
151 void * data; 156 void * data;
152}; 157};
@@ -162,7 +167,9 @@ struct gui_list
162 */ 167 */
163extern void gui_list_init(struct gui_list * gui_list, 168extern void gui_list_init(struct gui_list * gui_list,
164 list_get_name callback_get_item_name, 169 list_get_name callback_get_item_name,
165 void * data 170 void * data,
171 bool scroll_all,
172 int selected_size
166 ); 173 );
167 174
168/* 175/*
@@ -329,7 +336,9 @@ struct gui_synclist
329extern void gui_synclist_init( 336extern void gui_synclist_init(
330 struct gui_synclist * lists, 337 struct gui_synclist * lists,
331 list_get_name callback_get_item_name, 338 list_get_name callback_get_item_name,
332 void * data 339 void * data,
340 bool scroll_all,
341 int selected_size
333 ); 342 );
334extern void gui_synclist_set_nb_items(struct gui_synclist * lists, int nb_items); 343extern void gui_synclist_set_nb_items(struct gui_synclist * lists, int nb_items);
335extern void gui_synclist_set_icon_callback(struct gui_synclist * lists, list_get_icon icon_callback); 344extern void gui_synclist_set_icon_callback(struct gui_synclist * lists, list_get_icon icon_callback);