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;
char *string;
} TextureText;
+typedef struct {
+ Pixmap mask;
+ guint w, h;
+} pixmap_mask;
+
typedef struct TextureMask {
color_rgb *color;
+ pixmap_mask *mask;
} TextureMask;
typedef struct TextureRGBA {