From 402e229e76dfd8b4cda8b7cf1fccaec5acf7570c Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Wed, 16 Oct 2002 22:33:34 +0000 Subject: Allow for customizing of the dropShadows. If xft.flags: shadow then you can specify the tint with xft.shadow.tint: which should be a number 0 to 255. xft.shadow.offset: will specify how many pixels to add in positioning. Also, try to fix the inheritence in the pressed button borders. Need a style to test this --- src/Font.hh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Font.hh') diff --git a/src/Font.hh b/src/Font.hh index e29f41b1..8f3856b6 100644 --- a/src/Font.hh +++ b/src/Font.hh @@ -72,6 +72,8 @@ private: #ifdef XFT bool _antialias; bool _shadow; + unsigned char _offset; + unsigned char _tint; XftFont *_xftfont; @@ -96,7 +98,8 @@ public: #ifdef XFT // loads an Xft font BFont(Display *d, BScreen *screen, const std::string &family, int size, - bool bold, bool italic, bool shadow, bool antialias = True); + bool bold, bool italic, bool shadow, unsigned char offset, + unsigned char tint, bool antialias = True); #endif // loads a standard X font BFont(Display *d, BScreen *screen, const std::string &xlfd); -- cgit v1.2.3