]> Dogcows Code - chaz/openbox/blob - render/font.h
read fonts and titlebar layout from theme files
[chaz/openbox] / 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 "kernel/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, Rect *position);
20 #endif /* __font_h */
This page took 0.038182 seconds and 5 git commands to generate.