better ropshadow?
This commit is contained in:
parent
02c028d8ae
commit
076ef8c10e
1 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue