added justification to textureText
Derek Foreman manmower@gmail.com
1 files changed,
8 insertions(+),
1 deletions(-)
jump to
M
render/render.h
→
render/render.h
@@ -101,9 +101,16 @@ typedef struct {
XftFont *xftfont; } ObFont; +typedef enum { + Justify_Center, + Justify_Left, + Justify_Right +} Justify; + typedef struct TextureText { ObFont *font; - int shadow; + Justify justify; + int shadow; unsigned char tint; unsigned char offset; color_rgb *color;