From: Derek Foreman Date: Mon, 17 Mar 2003 01:21:33 +0000 (+0000) Subject: added justification to textureText X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=3cb562fe0b1d9740fd72fd30b8094294106750cc;p=chaz%2Fopenbox added justification to textureText --- diff --git a/render/render.h b/render/render.h index 54f42461..f8f0db86 100644 --- a/render/render.h +++ b/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;