From 1e36acfd9198a7d8cbad4eef094e15a03eebc291 Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Wed, 23 Oct 2002 02:46:47 +0000 Subject: Allow variable tinting of the shadow. Use *.xft.tint: integer integer is a number -100 to 100 that specifies the alpha channel, with negative numbers meaning lighten the background and positive being darken. --- src/Font.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Font.hh') diff --git a/src/Font.hh b/src/Font.hh index 8f3856b6..6f6431ef 100644 --- a/src/Font.hh +++ b/src/Font.hh @@ -73,7 +73,7 @@ private: bool _antialias; bool _shadow; unsigned char _offset; - unsigned char _tint; + int _tint; XftFont *_xftfont; @@ -99,7 +99,7 @@ public: // loads an Xft font BFont(Display *d, BScreen *screen, const std::string &family, int size, bool bold, bool italic, bool shadow, unsigned char offset, - unsigned char tint, bool antialias = True); + int tint, bool antialias = True); #endif // loads a standard X font BFont(Display *d, BScreen *screen, const std::string &xlfd); -- cgit v1.2.3