summaryrefslogtreecommitdiff
path: root/apps/wps.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/wps.c')
-rw-r--r--apps/wps.c33
1 files changed, 17 insertions, 16 deletions
diff --git a/apps/wps.c b/apps/wps.c
index 1544dcad6f..3c486b1786 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -447,8 +447,8 @@ static bool keylock(void)
447 bool exit = false; 447 bool exit = false;
448 448
449#ifdef HAVE_LCD_CHARCELLS 449#ifdef HAVE_LCD_CHARCELLS
450 lcd_icon(ICON_RECORD, true); 450 status_set_record(true);
451 lcd_icon(ICON_PARAM, false); 451 status_set_param(false);
452#endif 452#endif
453 display_keylock_text(true); 453 display_keylock_text(true);
454 keys_locked = true; 454 keys_locked = true;
@@ -468,7 +468,7 @@ static bool keylock(void)
468 case BUTTON_MENU | BUTTON_REPEAT | BUTTON_STOP: 468 case BUTTON_MENU | BUTTON_REPEAT | BUTTON_STOP:
469#endif 469#endif
470#ifdef HAVE_LCD_CHARCELLS 470#ifdef HAVE_LCD_CHARCELLS
471 lcd_icon(ICON_RECORD, false); 471 status_set_record(false);
472#endif 472#endif
473 display_keylock_text(false); 473 display_keylock_text(false);
474 keys_locked = false; 474 keys_locked = false;
@@ -515,7 +515,8 @@ static bool menu(void)
515 int last_button = 0; 515 int last_button = 0;
516 516
517#ifdef HAVE_LCD_CHARCELLS 517#ifdef HAVE_LCD_CHARCELLS
518 lcd_icon(ICON_PARAM, true); 518 status_set_param(true);
519 status_draw();
519#endif 520#endif
520 521
521 while (!exit) { 522 while (!exit) {
@@ -555,7 +556,7 @@ static bool menu(void)
555 mpeg_sound_set(SOUND_VOLUME, 0); 556 mpeg_sound_set(SOUND_VOLUME, 0);
556 muted = !muted; 557 muted = !muted;
557#ifdef HAVE_LCD_CHARCELLS 558#ifdef HAVE_LCD_CHARCELLS
558 lcd_icon(ICON_PARAM, false); 559 status_set_param(false);
559#endif 560#endif
560 display_mute_text(muted); 561 display_mute_text(muted);
561 break; 562 break;
@@ -583,16 +584,16 @@ static bool menu(void)
583 584
584 /* show id3 tags */ 585 /* show id3 tags */
585 case BUTTON_MENU | BUTTON_ON: 586 case BUTTON_MENU | BUTTON_ON:
586 lcd_icon(ICON_PARAM, true); 587 status_set_param(true);
587 lcd_icon(ICON_AUDIO, true); 588 status_set_audio(true);
588#else 589#else
589 case BUTTON_F1 | BUTTON_ON: 590 case BUTTON_F1 | BUTTON_ON:
590#endif 591#endif
591 if(browse_id3() == SYS_USB_CONNECTED) 592 if(browse_id3() == SYS_USB_CONNECTED)
592 return true; 593 return true;
593#ifdef HAVE_PLAYER_KEYPAD 594#ifdef HAVE_PLAYER_KEYPAD
594 lcd_icon(ICON_PARAM, false); 595 status_set_param(false);
595 lcd_icon(ICON_AUDIO, true); 596 status_set_audio(true);
596#endif 597#endif
597 exit = true; 598 exit = true;
598 break; 599 break;
@@ -606,7 +607,7 @@ static bool menu(void)
606 } 607 }
607 608
608#ifdef HAVE_LCD_CHARCELLS 609#ifdef HAVE_LCD_CHARCELLS
609 lcd_icon(ICON_PARAM, false); 610 status_set_param(false);
610#endif 611#endif
611 612
612 if (wps_display(id3)) 613 if (wps_display(id3))
@@ -625,8 +626,8 @@ int wps_show(void)
625 id3 = NULL; 626 id3 = NULL;
626 627
627#ifdef HAVE_LCD_CHARCELLS 628#ifdef HAVE_LCD_CHARCELLS
628 lcd_icon(ICON_AUDIO, true); 629 status_set_audio(true);
629 lcd_icon(ICON_PARAM, false); 630 status_set_param(false);
630#else 631#else
631 if(global_settings.statusbar) 632 if(global_settings.statusbar)
632 lcd_setmargins(0, STATUSBAR_HEIGHT); 633 lcd_setmargins(0, STATUSBAR_HEIGHT);
@@ -696,8 +697,8 @@ int wps_show(void)
696 case 0: 697 case 0:
697 /* otherwise, exit to browser */ 698 /* otherwise, exit to browser */
698#else 699#else
699 lcd_icon(ICON_RECORD, false); 700 status_set_record(false);
700 lcd_icon(ICON_AUDIO, false); 701 status_set_audio(false);
701#endif 702#endif
702 /* set dir browser to current playing song */ 703 /* set dir browser to current playing song */
703 if (global_settings.browse_current && id3) 704 if (global_settings.browse_current && id3)
@@ -829,8 +830,8 @@ int wps_show(void)
829 break; 830 break;
830#endif 831#endif
831#ifdef HAVE_LCD_CHARCELLS 832#ifdef HAVE_LCD_CHARCELLS
832 lcd_icon(ICON_RECORD, false); 833 status_set_record(false);
833 lcd_icon(ICON_AUDIO, false); 834 status_set_audio(false);
834#endif 835#endif
835 /* set dir browser to current playing song */ 836 /* set dir browser to current playing song */
836 if (global_settings.browse_current && id3) 837 if (global_settings.browse_current && id3)