X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Ffont.c;h=d2a4acaeed31e0b8177d4903489d136a3b913581;hb=40c3228f351b3e35c3b85f140c195ea984ab2b61;hp=9c42fcbcf4b715ee47b3947b11ddb0cc665e15f2;hpb=121afb76eb7f8b5a071bb45d262c6fc43ce82dff;p=chaz%2Fopenbox diff --git a/render/font.c b/render/font.c index 9c42fcbc..d2a4acae 100644 --- a/render/font.c +++ b/render/font.c @@ -2,9 +2,7 @@ #include "color.h" #include "mask.h" #include "theme.h" -#include "kernel/geom.h" -#include "kernel/gettext.h" -#define _(str) gettext(str) +#include "gettext.h" #include #include @@ -148,7 +146,7 @@ int RrFontMaxCharWidth(const RrFont *f) return (signed) f->xftfont->max_advance_width; } -void RrFontDraw(XftDraw *d, RrTextureText *t, Rect *area) +void RrFontDraw(XftDraw *d, RrTextureText *t, RrRect *area) { gint x,y,w,h; XftColor c;