From: Derek Foreman Date: Sun, 16 Mar 2003 23:35:51 +0000 (+0000) Subject: font changes X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;ds=sidebyside;h=4672adbfa0384fdb8c102271dad64ad0bf3fb8da;p=chaz%2Fopenbox font changes --- 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;