]> icculus.org git repositories - mikachu/openbox.git/blob - render/font.h
make themes inside a directory
[mikachu/openbox.git] / render / font.h
1 #ifndef __font_h
2 #define __font_h
3 #define _XFT_NO_COMPAT_ /* no Xft 1 API */
4 #include <X11/Xft/Xft.h>
5 #include "render.h"
6 #include "geom.h"
7
8 struct _RrFont {
9     const RrInstance *inst;
10     XftFont *xftfont;
11     gint elipses_length;
12     gint shadow;
13     gchar tint;
14     gint offset;
15 };
16
17 RrFont *RrFontOpen(const RrInstance *inst, char *fontstring);
18 void RrFontClose(RrFont *f);
19 void RrFontDraw(XftDraw *d, RrTextureText *t, RrRect *position);
20 #endif /* __font_h */