forked from len0rd/rockbox
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:
parent
ca8f7bf352
commit
b41e93ae63
1 changed files with 1 additions and 2 deletions
|
@ -998,7 +998,6 @@ void peak_meter_draw(struct screen *display, struct meter_scales *scales,
|
||||||
/* draw scale end */
|
/* draw scale end */
|
||||||
display->vline(x + meterwidth, y, y + height - 2);
|
display->vline(x + meterwidth, y, y + height - 2);
|
||||||
|
|
||||||
display->set_drawmode(DRMODE_COMPLEMENT);
|
|
||||||
/* draw dots for scale marks */
|
/* draw dots for scale marks */
|
||||||
for (i = 0; i < db_scale_count; i++) {
|
for (i = 0; i < db_scale_count; i++) {
|
||||||
/* The x-coordinates of interesting scale mark points
|
/* 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*/
|
#endif /*HAVE_RECORDING*/
|
||||||
|
|
||||||
#ifdef PM_DEBUG
|
#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 */
|
have ocurred since the last display */
|
||||||
display->set_drawmode(DRMODE_COMPLEMENT);
|
display->set_drawmode(DRMODE_COMPLEMENT);
|
||||||
display->fillrect(x, y, tmp, 3);
|
display->fillrect(x, y, tmp, 3);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue