mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-20 10:32:42 -05:00
Make list.c use button_queue_count() instead of accessing the button_queue directly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17587 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
869fbfc1f1
commit
9244259f08
1 changed files with 2 additions and 2 deletions
|
|
@ -657,7 +657,7 @@ bool gui_synclist_do_button(struct gui_synclist * lists,
|
||||||
case ACTION_STD_PREVREPEAT:
|
case ACTION_STD_PREVREPEAT:
|
||||||
gui_list_select_at_offset(lists, -next_item_modifier);
|
gui_list_select_at_offset(lists, -next_item_modifier);
|
||||||
#ifndef HAVE_SCROLLWHEEL
|
#ifndef HAVE_SCROLLWHEEL
|
||||||
if (queue_count(&button_queue) < FRAMEDROP_TRIGGER)
|
if (button_queue_count() < FRAMEDROP_TRIGGER)
|
||||||
#endif
|
#endif
|
||||||
gui_synclist_draw(lists);
|
gui_synclist_draw(lists);
|
||||||
_gui_synclist_speak_item(lists,
|
_gui_synclist_speak_item(lists,
|
||||||
|
|
@ -671,7 +671,7 @@ bool gui_synclist_do_button(struct gui_synclist * lists,
|
||||||
case ACTION_STD_NEXTREPEAT:
|
case ACTION_STD_NEXTREPEAT:
|
||||||
gui_list_select_at_offset(lists, next_item_modifier);
|
gui_list_select_at_offset(lists, next_item_modifier);
|
||||||
#ifndef HAVE_SCROLLWHEEL
|
#ifndef HAVE_SCROLLWHEEL
|
||||||
if (queue_count(&button_queue) < FRAMEDROP_TRIGGER)
|
if (button_queue_count() < FRAMEDROP_TRIGGER)
|
||||||
#endif
|
#endif
|
||||||
gui_synclist_draw(lists);
|
gui_synclist_draw(lists);
|
||||||
_gui_synclist_speak_item(lists,
|
_gui_synclist_speak_item(lists,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue