added justification to textureText

This commit is contained in:
Derek Foreman 2003-03-17 01:21:33 +00:00
parent 9c2b06668e
commit 3cb562fe0b

View file

@ -101,8 +101,15 @@ typedef struct {
XftFont *xftfont; XftFont *xftfont;
} ObFont; } ObFont;
typedef enum {
Justify_Center,
Justify_Left,
Justify_Right
} Justify;
typedef struct TextureText { typedef struct TextureText {
ObFont *font; ObFont *font;
Justify justify;
int shadow; int shadow;
unsigned char tint; unsigned char tint;
unsigned char offset; unsigned char offset;