font changes

This commit is contained in:
Derek Foreman 2003-03-16 23:35:51 +00:00
parent 99b226f39d
commit 4672adbfa0

View file

@ -6,7 +6,6 @@
#include <X11/Xft/Xft.h> #include <X11/Xft/Xft.h>
#include <glib.h> #include <glib.h>
#include "color.h" #include "color.h"
#include "font.h"
#ifdef HAVE_STDINT_H #ifdef HAVE_STDINT_H
# include <stdint.h> # include <stdint.h>
@ -98,13 +97,18 @@ typedef struct Surface {
SurfaceData data; SurfaceData data;
} Surface; } Surface;
typedef struct {
XftFont *xftfont;
} ObFont;
typedef struct TextureText { typedef struct TextureText {
ObFont *font; ObFont *font;
int shadow; int shadow;
int offset; unsigned char tint;
unsigned char offset;
color_rgb *color; color_rgb *color;
char *string; char *string;
} TextureText; } TextureText;
typedef struct TextureMask { typedef struct TextureMask {
color_rgb *color; color_rgb *color;