diff --git a/render/render.h b/render/render.h index 8b4ccdc2..01795e7e 100644 --- a/render/render.h +++ b/render/render.h @@ -6,7 +6,6 @@ #include #include #include "color.h" -#include "font.h" #ifdef HAVE_STDINT_H # include @@ -98,13 +97,18 @@ typedef struct Surface { SurfaceData data; } Surface; +typedef struct { + XftFont *xftfont; +} ObFont; + typedef struct TextureText { ObFont *font; - int shadow; - int offset; + int shadow; + unsigned char tint; + unsigned char offset; color_rgb *color; char *string; -} TextureText; +} TextureText; typedef struct TextureMask { color_rgb *color;