X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Frender.h;h=3ff0636b8a0e1c244e8ec1b323c49ac0b9abb789;hb=a908e04818e2d9eab3e3d8049c573e8d9ddcd0b8;hp=df81daf13efccc4d648250e592f5a3254be5d0b4;hpb=4460548ca005d208843a4bd7a5d2f1bacb797d6a;p=chaz%2Fopenbox diff --git a/render/render.h b/render/render.h index df81daf1..3ff0636b 100644 --- a/render/render.h +++ b/render/render.h @@ -20,6 +20,9 @@ #ifndef __render_h #define __render_h +#include "geom.h" +#include "version.h" + #include /* some platforms dont include this as needed for Xft */ #define _XFT_NO_COMPAT_ /* no Xft 1 API */ #include @@ -200,9 +203,9 @@ RrAppearance *RrAppearanceNew (const RrInstance *inst, gint numtex); RrAppearance *RrAppearanceCopy (RrAppearance *a); void RrAppearanceFree (RrAppearance *a); -int RrFontMeasureString (const RrFont *f, const gchar *str); -int RrFontHeight (const RrFont *f); -int RrFontMaxCharWidth (const RrFont *f); +RrSize *RrFontMeasureString (const RrFont *f, const gchar *str); +gint RrFontHeight (const RrFont *f); +gint RrFontMaxCharWidth (const RrFont *f); void RrPaint (RrAppearance *a, Window win, gint w, gint h); void RrMinsize (RrAppearance *a, gint *w, gint *h);