diff options
author | Kevin Ferrare <kevin@rockbox.org> | 2005-11-16 15:12:15 +0000 |
---|---|---|
committer | Kevin Ferrare <kevin@rockbox.org> | 2005-11-16 15:12:15 +0000 |
commit | e991beed6df8700b41796c4c14ef786f45fb54c5 (patch) | |
tree | 63543693276236f18a91c3de87e2353625eb85dc /apps/playlist_viewer.c | |
parent | 76b75efa060b55bc7cbf66bae3401af57d907440 (diff) |
replaced all the splash calls by gui_sync_splash, added some missing remote key in the playlist viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7909 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist_viewer.c')
-rw-r--r-- | apps/playlist_viewer.c | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c index 36acb9b897..3f0e27d9e9 100644 --- a/apps/playlist_viewer.c +++ b/apps/playlist_viewer.c @@ -673,15 +673,30 @@ bool playlist_viewer_ex(char* filename) switch (button) { case TREE_EXIT: +#ifdef TREE_RC_EXIT + case TREE_RC_EXIT: +#endif #ifdef TREE_OFF - case TREE_OFF: + case TREE_OFF: #endif exit = true; break; +#ifdef TREE_ENTER + case TREE_ENTER: + case TREE_ENTER | BUTTON_REPEAT: +#endif +#ifdef TREE_RC_RUN + case TREE_RC_RUN: +#endif case TREE_RUN: #ifdef TREE_RUN_PRE - if (lastbutton != TREE_RUN_PRE) + if (((button == TREE_RUN) +#ifdef TREE_RC_RUN_PRE + || (button == TREE_RC_RUN)) + && ((lastbutton != TREE_RC_RUN_PRE) +#endif + && (lastbutton != TREE_RUN_PRE))) break; #endif struct playlist_entry * current_track=playlist_buffer_get_track(&viewer.buffer, viewer.selected_track); @@ -723,6 +738,9 @@ bool playlist_viewer_ex(char* filename) #ifdef TREE_CONTEXT2 case TREE_CONTEXT2: #endif +#ifdef TREE_RC_CONTEXT + case TREE_RC_CONTEXT: +#endif { /* ON+PLAY menu */ int ret; @@ -747,6 +765,9 @@ bool playlist_viewer_ex(char* filename) } case TREE_MENU: +#ifdef TREE_RC_MENU + case TREE_RC_MENU: +#endif if (viewer_menu()) { ret = true; |