mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-07 05:35:02 -05:00
touchscreen: Port list code to gesture API
Make use of the new gesture API to overhaul list touch support. This should fix most of the annoyances with touch navigation in menus and make the touchscreen easier to use. Change-Id: Ied300947fcf755e2810e9348496ed86eaf620669
This commit is contained in:
parent
e2363b0e2c
commit
67233114f7
3 changed files with 242 additions and 374 deletions
|
|
@ -163,6 +163,8 @@ void gui_synclist_init(struct gui_synclist * gui_list,
|
|||
gui_synclist_init_display_settings(gui_list);
|
||||
#ifdef HAVE_TOUCHSCREEN
|
||||
gui_list->y_pos = 0;
|
||||
gui_list->scroll_base_y = 0;
|
||||
gui_list->scroll_mode = 0;
|
||||
#endif
|
||||
FOR_NB_SCREENS(i)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue