mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
allow softlock in additional screens
not sure if there's a reason these weren't included in g#3229 - simple lists - playlist viewer - browse_id3 - option select Change-Id: I0e15aaeb563e68ea21bf5df667ce134d01a95195
This commit is contained in:
parent
85adf518ac
commit
78ec149555
4 changed files with 4 additions and 4 deletions
|
|
@ -932,7 +932,7 @@ bool simplelist_show_list(struct simplelist_info *info)
|
|||
|
||||
while(1)
|
||||
{
|
||||
list_do_action(CONTEXT_TREE, info->timeout, &lists, &action);
|
||||
list_do_action(CONTEXT_TREE|ALLOW_SOFTLOCK, info->timeout, &lists, &action);
|
||||
|
||||
/* We must yield in this case or no other thread can run */
|
||||
if (info->timeout == TIMEOUT_NOBLOCK)
|
||||
|
|
|
|||
|
|
@ -532,7 +532,7 @@ bool option_screen(const struct settings_list *setting,
|
|||
if (!allow_wrap)
|
||||
lists.wraparound = false;
|
||||
|
||||
if (list_do_action(CONTEXT_LIST, HZ, /* HZ so the status bar redraws */
|
||||
if (list_do_action(CONTEXT_LIST|ALLOW_SOFTLOCK, HZ, /* HZ so the status bar redraws */
|
||||
&lists, &action))
|
||||
{
|
||||
/* setting changed */
|
||||
|
|
|
|||
|
|
@ -1017,7 +1017,7 @@ enum playlist_viewer_result playlist_viewer_ex(const char* filename,
|
|||
}
|
||||
|
||||
/* Timeout so we can determine if play status has changed */
|
||||
bool res = list_do_action(CONTEXT_TREE, HZ/2, &playlist_lists, &button);
|
||||
bool res = list_do_action(CONTEXT_TREE|ALLOW_SOFTLOCK, HZ/2, &playlist_lists, &button);
|
||||
/* during moving, another redraw is going to be needed,
|
||||
* since viewer.selected_track is updated too late (after the first draw)
|
||||
* drawing the moving item needs it */
|
||||
|
|
|
|||
|
|
@ -821,7 +821,7 @@ refresh_info:
|
|||
gui_synclist_draw(&id3_lists);
|
||||
gui_synclist_speak_item(&id3_lists);
|
||||
while (true) {
|
||||
if(!list_do_action(CONTEXT_LIST,HZ/2, &id3_lists, &key)
|
||||
if(!list_do_action(CONTEXT_LIST|ALLOW_SOFTLOCK,HZ/2, &id3_lists, &key)
|
||||
&& key!=ACTION_NONE && key!=ACTION_UNKNOWN)
|
||||
{
|
||||
if (key == ACTION_STD_OK)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue