diff options
| author | Scott Moynes <smoynes@nexus.carleton.ca> | 2002-10-23 02:46:47 +0000 |
|---|---|---|
| committer | Scott Moynes <smoynes@nexus.carleton.ca> | 2002-10-23 02:46:47 +0000 |
| commit | 1e36acfd9198a7d8cbad4eef094e15a03eebc291 (patch) | |
| tree | 22d51d982f5f0ecd2630d4480bd4ea5b4a9fc5ab /src/Font.hh | |
| parent | dc4957eed8ea4844dc7bdba0830b7bbd95be3fd2 (diff) | |
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.
Diffstat (limited to 'src/Font.hh')
| -rw-r--r-- | src/Font.hh | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
