r1967
dslinux_amadeus at dslinux.in-berlin.de
dslinux_amadeus at dslinux.in-berlin.de
Sun Oct 7 22:39:44 CEST 2007
Author: amadeus
Date: 2007-10-07 22:39:39 +0200 (Sun, 07 Oct 2007)
New Revision: 1967
Log:
Don't disturb the Logo so much - draw transparent
Modified: trunk/user/pixil/sys/pixilwm/icons.c
===================================================================
--- trunk/user/pixil/sys/pixilwm/icons.c 2007-10-07 13:02:41 UTC (rev 1966)
+++ trunk/user/pixil/sys/pixilwm/icons.c 2007-10-07 20:39:39 UTC (rev 1967)
@@ -169,6 +169,7 @@
strcpy(p, label);
+ GrSetGCUseBackground(gc, GR_FALSE);
while (1) {
int w, h, b;
char *n;
@@ -181,6 +182,7 @@
int dx = x + ((icon - w) / 2);
GrText(GR_ROOT_WINDOW_ID, gc, dx, dy, p, -1,
GR_TFASCII | GR_TFTOP);
+ GrSetGCUseBackground(gc, GR_TRUE);
return;
}
@@ -216,6 +218,7 @@
GrText(GR_ROOT_WINDOW_ID, gc, dx, dy, p, -1,
GR_TFASCII | GR_TFTOP);
+ GrSetGCUseBackground(gc, GR_TRUE);
return;
}
}
More information about the dslinux-commit
mailing list