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
This commit is contained in:
Nils Wallménius 2007-03-19 16:49:55 +00:00
parent ca8f7bf352
commit b41e93ae63

View file

@ -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);