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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/gui/list.h b/apps/gui/list.h
index 3a613d0a67..64ff3e3fdd 100644
--- a/apps/gui/list.h
+++ b/apps/gui/list.h
@@ -118,6 +118,10 @@ struct gui_synclist
118 bool scroll_all; 118 bool scroll_all;
119 int nb_items; 119 int nb_items;
120 int selected_item; 120 int selected_item;
121#ifdef HAVE_TOUCHSCREEN
122 /* absolute Y coordinate, used for smooth scrolling */
123 int y_pos;
124#endif
121 int start_item[NB_SCREENS]; /* the item that is displayed at the top of the screen */ 125 int start_item[NB_SCREENS]; /* the item that is displayed at the top of the screen */
122 /* the number of lines that are selected at the same time */ 126 /* the number of lines that are selected at the same time */
123 int selected_size; 127 int selected_size;
@@ -229,7 +233,7 @@ int skinlist_get_line_count(enum screen_type screen, struct gui_synclist *list);
229/* this needs to be fixed if we ever get more than 1 touchscreen on a target */ 233/* this needs to be fixed if we ever get more than 1 touchscreen on a target */
230extern unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list); 234extern unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list);
231/* only for private use in gui/list.c */ 235/* only for private use in gui/list.c */
232extern void _gui_synclist_stop_kinetic_scrolling(void); 236extern void _gui_synclist_stop_kinetic_scrolling(struct gui_synclist * gui_list);
233#endif 237#endif
234 238
235/* If the list has a pending postponed scheduled announcement, that 239/* If the list has a pending postponed scheduled announcement, that