aboutsummaryrefslogtreecommitdiffstats
path: root/dzen.h
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2009-02-11 02:32:08 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2009-02-11 02:32:08 +0000
commitbb30ea30f049709336200cd9dffba9929c17f924 (patch)
tree829461b477dde4908431b7b99a94ba4776005f33 /dzen.h
parent487a15633b9706bf44a18e7ff484e63c0311f347 (diff)
downloaddzen-bb30ea30f049709336200cd9dffba9929c17f924.tar.gz
dzen-bb30ea30f049709336200cd9dffba9929c17f924.zip
added XFT support
git-svn-id: http://dzen.googlecode.com/svn/trunk@241 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'dzen.h')
-rw-r--r--dzen.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/dzen.h b/dzen.h
index f31a629..9d17502 100644
--- a/dzen.h
+++ b/dzen.h
@@ -10,6 +10,9 @@
#ifdef DZEN_XINERAMA
#include <X11/extensions/Xinerama.h>
#endif
+#ifdef DZEN_XFT
+#include <X11/Xft/Xft.h>
+#endif
#define FONT "-*-fixed-*-*-*-*-*-*-*-*-*-*-*-*"
#define BGCOLOR "#111111"
@@ -48,8 +51,14 @@ struct Fnt {
int ascent;
int descent;
int height;
+#ifdef DZEN_XFT
+ XftFont *xftfont;
+ XGlyphInfo *extents;
+ int width;
+#endif
};
+
/* title window */
struct TW {
int x, y, width, height;