]> Dogcows Code - chaz/openbox/commitdiff
better ropshadow?
authorDana Jansens <danakj@orodu.net>
Sat, 7 Sep 2002 06:26:20 +0000 (06:26 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 7 Sep 2002 06:26:20 +0000 (06:26 +0000)
src/Font.cc

index d4a6950d247fda992b9dc6828c4b149bc2273b62..af23906d2c11d050b052fb43f9d9673c121739fe 100644 (file)
@@ -267,11 +267,11 @@ void BFont::drawString(Drawable d, int x, int y, const BColor &color,
       c.color.red = 0;
       c.color.green = 0;
       c.color.blue = 0;
-      c.color.alpha = 0x55 | 0x55 << 8; // transparent shadow
+      c.color.alpha = 0x49 | 0x49 << 8; // transparent shadow
       c.pixel = BlackPixel(_display, _screen->getScreenNumber());
 
         
-      XftDrawStringUtf8(draw, &c, _xftfont, x - 1, _xftfont->ascent + y + 1,
+      XftDrawStringUtf8(draw, &c, _xftfont, x + 1, _xftfont->ascent + y + 1,
                         (XftChar8 *) string.c_str(), string.size());
     }
 
This page took 0.026873 seconds and 4 git commands to generate.