]> Dogcows Code - chaz/openbox/blobdiff - render/render.h
properly layout the titlebar, with proper separatation
[chaz/openbox] / render / render.h
index 01795e7e4121c4899d8217ef486ffd12f67d10b3..f8f0db8681c99745e19d4207ad1f1a4fd01ba054 100644 (file)
@@ -101,17 +101,30 @@ 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;
     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 {
This page took 0.021938 seconds and 4 git commands to generate.