7 Oct 10:12
rob: r18726 - trunk/apps/plugins
From: <mailer <at> svn.rockbox.org>
Subject: rob: r18726 - trunk/apps/plugins
Newsgroups: gmane.comp.systems.archos.rockbox.cvs
Date: 2008-10-07 08:13:05 GMT
Subject: rob: r18726 - trunk/apps/plugins
Newsgroups: gmane.comp.systems.archos.rockbox.cvs
Date: 2008-10-07 08:13:05 GMT
Date: 2008-10-07 10:13:05 +0200 (Tue, 07 Oct 2008)
New Revision: 18726
Log Message:
Accept FS#9325 (colourize digital vu_meter) by Clement Pit-Claudel.
Modified:
trunk/apps/plugins/vu_meter.c
Modified: trunk/apps/plugins/vu_meter.c
===================================================================
--- trunk/apps/plugins/vu_meter.c 2008-10-07 05:04:11 UTC (rev 18725)
+++ trunk/apps/plugins/vu_meter.c 2008-10-07 08:13:05 UTC (rev 18726)
@@ -298,6 +298,9 @@
int last_num_right_leds;
int i;
+#ifdef HAVE_LCD_COLOR
+int screen_foreground;
+#endif
#define MAX_PEAK 0x8000
@@ -510,6 +513,9 @@
}
void draw_digital_minimeters(void) {
+#ifdef HAVE_LCD_COLOR
+ rb->lcd_set_foreground(LCD_RGBPACK(255, 255 - 23 * num_left_leds, 0));
+#endif
(Continue reading)
RSS Feed