LCDproc development and user support list

Text archives Help


[Lcdproc] [PATCH] imonlcd driver fix (special icon)


Chronological Thread 
  • From: christian.leuschen at gmx.de (Christian Leuschen)
  • Subject: [Lcdproc] [PATCH] imonlcd driver fix (special icon)
  • Date: Wed, 20 Jan 2010 19:01:32 +0100

Hello,

the patch included in this mail fixes an issue with a special icon on
the imon-lcd that does not get displayed without the patch.
It also switches vbars to "norrow style" as a spectrum analyzer with
"full style" looks awful - IMHO.

Greets,
Christian

lcdproc-0.5.3-imonlcd-mpg-audio-icon.diff


---
/var/tmp/portage/app-misc/lcdproc-0.5.3/work/lcdproc-0.5.3/server/drivers/imonlcd.c
2009-06-20 15:48:34.000000000 +0200
+++ /tmp/lcdproc-0.5.3/server/drivers/imonlcd.c 2010-01-18 21:12:14.000000000
+0100
@@ -654,7 +654,7 @@
* rest
*/
lib_vbar_static(drvthis, x, y, len, promille, options,
- p->cellheight, IMONLCD_FONT_START_VBAR_FULL - 1);
+ p->cellheight, IMONLCD_FONT_START_VBAR_NARROW-1);
}


@@ -1035,7 +1035,7 @@
if (((state& IMON_OUTPUT_BMICONS_MASK) != 0)) {
switch (((state& IMON_OUTPUT_BMICONS_MASK)>> 16)) {
case 1:
- icon |= IMON_ICON_MPG;
+ icon |= IMON_ICON_MPG2;
break;
case 2:
icon |= IMON_ICON_AC3;

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.omnipotent.net/pipermail/lcdproc/attachments/20100120/206998bf/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lcdproc-0.5.3-imonlcd-mpg-audio-icon.diff
URL:
<http://lists.omnipotent.net/pipermail/lcdproc/attachments/20100120/206998bf/attachment.txt>




Archive powered by MHonArc 2.6.18.

Top of page