forked from len0rd/rockbox
minor update to gui_synclist_do_button() which will hopefully simplify things later.
Now returns true if the action was handled in that function instead of returning the handled action. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14733 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
344f45165f
commit
cf1cef5f57
21 changed files with 61 additions and 59 deletions
|
|
@ -59,7 +59,7 @@ enum sc_list_action_type draw_sc_list(struct gui_synclist gui_sc)
|
|||
rb->gui_syncstatusbar_draw(rb->statusbars, true);
|
||||
/* user input */
|
||||
button = rb->get_action(CONTEXT_LIST, TIMEOUT_BLOCK);
|
||||
if (rb->gui_synclist_do_button(&gui_sc, button,
|
||||
if (rb->gui_synclist_do_button(&gui_sc, &button,
|
||||
LIST_WRAP_UNLESS_HELD)) {
|
||||
/* automatic handling of user input.
|
||||
* _UNLESS_HELD can be _ON or _OFF also
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue