summaryrefslogtreecommitdiff
path: root/src/Font.hh
diff options
context:
space:
mode:
authorScott Moynes <smoynes@nexus.carleton.ca>2002-10-16 22:33:34 +0000
committerScott Moynes <smoynes@nexus.carleton.ca>2002-10-16 22:33:34 +0000
commit402e229e76dfd8b4cda8b7cf1fccaec5acf7570c (patch)
tree0fb7bf734aeeb8440692b38b2496d8a604695217 /src/Font.hh
parentbe127cb4c6682ec1fa8e28e1668d8e332be69ac8 (diff)
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
Diffstat (limited to 'src/Font.hh')
-rw-r--r--src/Font.hh5
1 files changed, 4 insertions, 1 deletions
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);