From b41e93ae6386da655ed8635a16f2d2856e84f0ec Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Mon, 19 Mar 2007 16:49:55 +0000 Subject: Draw peakmeter scale marks in foreground color instead of inversed background color, fixes FS #6855 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12840 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/peakmeter.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/recorder/peakmeter.c b/apps/recorder/peakmeter.c index 0e729f6f34..25e8ec47a8 100644 --- a/apps/recorder/peakmeter.c +++ b/apps/recorder/peakmeter.c @@ -998,7 +998,6 @@ void peak_meter_draw(struct screen *display, struct meter_scales *scales, /* draw scale end */ display->vline(x + meterwidth, y, y + height - 2); - display->set_drawmode(DRMODE_COMPLEMENT); /* draw dots for scale marks */ for (i = 0; i < db_scale_count; i++) { /* The x-coordinates of interesting scale mark points @@ -1053,7 +1052,7 @@ void peak_meter_draw(struct screen *display, struct meter_scales *scales, #endif /*HAVE_RECORDING*/ #ifdef PM_DEBUG - /* display a bar to show how many calls to peak_meter_peek + /* display a bar to show how many calls to peak_meter_peek have ocurred since the last display */ display->set_drawmode(DRMODE_COMPLEMENT); display->fillrect(x, y, tmp, 3); -- cgit v1.2.3