From 942bc9449ea587fc3d50a468da56df32baf0748f Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Wed, 23 Apr 2003 11:26:25 +0000 Subject: Only redraw the status line when info actually changed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3588 a1c6a512-1295-4272-9138-f99709370657 --- apps/wps.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'apps/wps.c') diff --git a/apps/wps.c b/apps/wps.c index edc876e506..187f244775 100644 --- a/apps/wps.c +++ b/apps/wps.c @@ -103,7 +103,7 @@ void player_change_volume(int button) if (!exit) button = button_get(true); } - status_draw(); + status_draw(false); wps_refresh(id3,0, WPS_REFRESH_ALL); } #endif @@ -443,7 +443,7 @@ static bool update(void) if (id3) wps_refresh(id3, 0, WPS_REFRESH_NON_STATIC); - status_draw(); + status_draw(false); /* save resume data */ if ( id3 && @@ -488,7 +488,7 @@ static bool keylock(void) #endif return false; } - status_draw(); + status_draw(false); while (button_get(false)); /* clear button queue */ while (!exit) { @@ -560,7 +560,7 @@ static bool menu(void) #ifdef HAVE_LCD_CHARCELLS status_set_param(true); - status_draw(); + status_draw(false); #endif while (!exit) { @@ -896,7 +896,7 @@ int wps_show(void) if(global_settings.volume > mpeg_sound_max(SOUND_VOLUME)) global_settings.volume = mpeg_sound_max(SOUND_VOLUME); mpeg_sound_set(SOUND_VOLUME, global_settings.volume); - status_draw(); + status_draw(false); settings_save(); break; @@ -910,7 +910,7 @@ int wps_show(void) if(global_settings.volume < mpeg_sound_min(SOUND_VOLUME)) global_settings.volume = mpeg_sound_min(SOUND_VOLUME); mpeg_sound_set(SOUND_VOLUME, global_settings.volume); - status_draw(); + status_draw(false); settings_save(); break; -- cgit