]> icculus.org git repositories - dana/openbox.git/blob - render/font.h
was reversing the keylist
[dana/openbox.git] / render / font.h
1 #ifndef __font_h
2 #define __font_h
3 #include <X11/Xft/Xft.h>
4 #include "render.h"
5 #include "../kernel/geom.h"
6
7 void font_startup(void);
8 ObFont *font_open(char *fontstring);
9 void font_close(ObFont *f);
10 int font_measure_string(ObFont *f, char *str, int shadow, int offset);
11 int font_height(ObFont *f, int shadow, int offset);
12 int font_max_char_width(ObFont *f);
13 void font_draw(XftDraw *d, TextureText *t, Rect *position);
14 #endif /* __font_h */