font changes
Derek Foreman manmower@gmail.com
1 files changed,
8 insertions(+),
4 deletions(-)
jump to
M
render/render.h
→
render/render.h
@@ -6,7 +6,6 @@ #define _XFT_NO_COMPAT_ /* no Xft 1 API */
#include <X11/Xft/Xft.h> #include <glib.h> #include "color.h" -#include "font.h" #ifdef HAVE_STDINT_H # include <stdint.h>@@ -98,13 +97,18 @@ SurfaceColorType colortype;
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;