diff options
author | Markus Braun <markus.braun@krawel.de> | 2002-08-20 20:00:44 +0000 |
---|---|---|
committer | Markus Braun <markus.braun@krawel.de> | 2002-08-20 20:00:44 +0000 |
commit | faacfea055471c3f7e19eb1ab091dd4a38dd958b (patch) | |
tree | e18b50d932a4230fc29ce2bc4d62ccc73688a985 /apps | |
parent | 59429dab9de537e54633e19e563e1bd436470976 (diff) | |
download | rockbox-faacfea055471c3f7e19eb1ab091dd4a38dd958b.tar.gz rockbox-faacfea055471c3f7e19eb1ab091dd4a38dd958b.zip |
faster redraw of time display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1825 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/wps.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/apps/wps.c b/apps/wps.c index e134535bff..46846cd3e1 100644 --- a/apps/wps.c +++ b/apps/wps.c @@ -504,6 +504,8 @@ int wps_show(void) { display_keylock_text(keys_locked); draw_screen(id3); + if (mpeg_is_playing() && id3) + display_file_time(id3->elapsed, id3->length); break; } @@ -519,6 +521,8 @@ int wps_show(void) { display_keylock_text(keys_locked); draw_screen(id3); + if (mpeg_is_playing() && id3) + display_file_time(id3->elapsed, id3->length); break; } @@ -553,6 +557,8 @@ int wps_show(void) { display_keylock_text(keys_locked); draw_screen(id3); + if (mpeg_is_playing() && id3) + display_file_time(id3->elapsed, id3->length); break; } @@ -573,6 +579,8 @@ int wps_show(void) { display_keylock_text(keys_locked); draw_screen(id3); + if (mpeg_is_playing() && id3) + display_file_time(id3->elapsed, id3->length); break; } @@ -685,6 +693,8 @@ int wps_show(void) { display_keylock_text(keys_locked); draw_screen(id3); + if (mpeg_is_playing() && id3) + display_file_time(id3->elapsed, id3->length); } break; @@ -725,6 +735,8 @@ int wps_show(void) { display_keylock_text(keys_locked); draw_screen(id3); + if (mpeg_is_playing() && id3) + display_file_time(id3->elapsed, id3->length); break; } break; @@ -761,6 +773,8 @@ int wps_show(void) { display_keylock_text(keys_locked); draw_screen(id3); + if (mpeg_is_playing() && id3) + display_file_time(id3->elapsed, id3->length); break; } lcd_stop_scroll(); @@ -830,6 +844,8 @@ int wps_show(void) { display_keylock_text(keys_locked); draw_screen(id3); + if (mpeg_is_playing() && id3) + display_file_time(id3->elapsed, id3->length); break; } @@ -842,6 +858,8 @@ int wps_show(void) else mpeg_sound_set(SOUND_VOLUME, global_settings.volume); display_mute_text(device_muted); + if (mpeg_is_playing() && id3) + display_file_time(id3->elapsed, id3->length); draw_screen(id3); } dont_go_to_menu = true; @@ -864,6 +882,8 @@ int wps_show(void) #endif display_keylock_text(keys_locked); draw_screen(id3); + if (mpeg_is_playing() && id3) + display_file_time(id3->elapsed, id3->length); } dont_go_to_menu = true; @@ -886,6 +906,8 @@ int wps_show(void) ignore_keyup = true; id3 = mpeg_current_track(); draw_screen(id3); + if (mpeg_is_playing() && id3) + display_file_time(id3->elapsed, id3->length); } else { @@ -907,6 +929,8 @@ int wps_show(void) else lcd_setmargins(0, 0); draw_screen(id3); + if (mpeg_is_playing() && id3) + display_file_time(id3->elapsed, id3->length); #endif break; #endif @@ -920,6 +944,8 @@ int wps_show(void) { display_keylock_text(keys_locked); draw_screen(id3); + if (mpeg_is_playing() && id3) + display_file_time(id3->elapsed, id3->length); break; } |