added justification to textureText
This commit is contained in:
parent
9c2b06668e
commit
3cb562fe0b
1 changed files with 8 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue