From 24a1f94cd7cc50fbda6689d33c5d2dbcf123dab5 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 24 Jun 2005 23:06:06 +0000 Subject: Fixed yellow FM builds, and changed the function type names according to the rockbox coding style. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6858 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/radio.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'apps/recorder/radio.c') diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c index 93e2022caf..5dbe9478d6 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c @@ -443,7 +443,9 @@ bool radio_screen(void) /* Only display the peak meter when not recording */ if(!audio_status()) { - lcd_clearrect(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh); + lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); + lcd_fillrect(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh); + lcd_set_drawmode(DRMODE_SOLID); peak_meter_draw(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh); lcd_update_rect(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh); } @@ -477,7 +479,9 @@ bool radio_screen(void) } else { - lcd_clearrect(0, 8 + top_of_screen*fh, LCD_WIDTH, fh); + lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); + lcd_fillrect(0, 8 + top_of_screen*fh, LCD_WIDTH, fh); + lcd_set_drawmode(DRMODE_SOLID); } freq = curr_freq / 100000; -- cgit v1.2.3