summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-03-19 16:49:55 +0000
committerNils Wallménius <nils@rockbox.org>2007-03-19 16:49:55 +0000
commitb41e93ae6386da655ed8635a16f2d2856e84f0ec (patch)
treecbb01044c5bc7d7cd1ce117354993435166ad270
parentca8f7bf3528b471a896a0a954e71493ee4369392 (diff)
downloadrockbox-b41e93ae6386da655ed8635a16f2d2856e84f0ec.tar.gz
rockbox-b41e93ae6386da655ed8635a16f2d2856e84f0ec.zip
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
-rw-r--r--apps/recorder/peakmeter.c3
1 files changed, 1 insertions, 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,
998 /* draw scale end */ 998 /* draw scale end */
999 display->vline(x + meterwidth, y, y + height - 2); 999 display->vline(x + meterwidth, y, y + height - 2);
1000 1000
1001 display->set_drawmode(DRMODE_COMPLEMENT);
1002 /* draw dots for scale marks */ 1001 /* draw dots for scale marks */
1003 for (i = 0; i < db_scale_count; i++) { 1002 for (i = 0; i < db_scale_count; i++) {
1004 /* The x-coordinates of interesting scale mark points 1003 /* The x-coordinates of interesting scale mark points
@@ -1053,7 +1052,7 @@ void peak_meter_draw(struct screen *display, struct meter_scales *scales,
1053#endif /*HAVE_RECORDING*/ 1052#endif /*HAVE_RECORDING*/
1054 1053
1055#ifdef PM_DEBUG 1054#ifdef PM_DEBUG
1056 /* display a bar to show how many calls to peak_meter_peek 1055 /* display a bar to show how many calls to peak_meter_peek
1057 have ocurred since the last display */ 1056 have ocurred since the last display */
1058 display->set_drawmode(DRMODE_COMPLEMENT); 1057 display->set_drawmode(DRMODE_COMPLEMENT);
1059 display->fillrect(x, y, tmp, 3); 1058 display->fillrect(x, y, tmp, 3);