X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Ffont.h;h=8b100c7ae4916e2d3e88908bec8bae02ed55f27c;hb=35593123212d6f88e63a9b8a3827e983f27e841d;hp=85aa9f3efb3e8afadb7099d190c624123b3e0437;hpb=a12e73cf3741f91d9188bacbcc7733d5948c8156;p=chaz%2Fopenbox diff --git a/render/font.h b/render/font.h index 85aa9f3e..8b100c7a 100644 --- a/render/font.h +++ b/render/font.h @@ -1,9 +1,7 @@ #ifndef __font_h #define __font_h -#define _XFT_NO_COMPAT_ /* no Xft 1 API */ -#include #include "render.h" -#include "kernel/geom.h" +#include "geom.h" struct _RrFont { const RrInstance *inst; @@ -16,5 +14,5 @@ struct _RrFont { RrFont *RrFontOpen(const RrInstance *inst, char *fontstring); void RrFontClose(RrFont *f); -void RrFontDraw(XftDraw *d, RrTextureText *t, Rect *position); +void RrFontDraw(XftDraw *d, RrTextureText *t, RrRect *position); #endif /* __font_h */