]> Dogcows Code - chaz/openbox/blob - render/font.h
add --g-fatal-warnings
[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 "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 */
This page took 0.035603 seconds and 4 git commands to generate.