summaryrefslogtreecommitdiff
path: root/apps/gui/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/list.h')
-rw-r--r--apps/gui/list.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/list.h b/apps/gui/list.h
index e6a80f4714..742e30dbaa 100644
--- a/apps/gui/list.h
+++ b/apps/gui/list.h
@@ -267,6 +267,8 @@ struct simplelist_info {
267 char selection_size; /* list selection size, usually 1 */ 267 char selection_size; /* list selection size, usually 1 */
268 bool hide_selection; 268 bool hide_selection;
269 bool scroll_all; 269 bool scroll_all;
270 int timeout;
271 int start_selection; /* the item to select when the list is first displayed */
270 int (*action_callback)(int action, struct gui_synclist *lists); /* can be NULL */ 272 int (*action_callback)(int action, struct gui_synclist *lists); /* can be NULL */
271 /* action_callback notes: 273 /* action_callback notes:
272 action == the action pressed by the user 274 action == the action pressed by the user
@@ -303,6 +305,8 @@ void simplelist_addline(int line_number, const char *fmt, ...);
303 info.get_icon = NULL; 305 info.get_icon = NULL;
304 info.get_name = NULL; 306 info.get_name = NULL;
305 info.get_voice = NULL; 307 info.get_voice = NULL;
308 info.timeout = HZ/10;
309 info.start_selection = 0;
306*/ 310*/
307void simplelist_info_init(struct simplelist_info *info, char* title, 311void simplelist_info_init(struct simplelist_info *info, char* title,
308 int count, void* data); 312 int count, void* data);