all repos — openbox @ 3cb562fe0b1d9740fd72fd30b8094294106750cc

openbox fork - make it a bit more like ryudo

added justification to textureText
Derek Foreman manmower@gmail.com
commit

3cb562fe0b1d9740fd72fd30b8094294106750cc

parent

9c2b06668e349901791fb9fe459cc511e460287e

1 files changed, 8 insertions(+), 1 deletions(-)

jump to
M render/render.hrender/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;