]> Dogcows Code - chaz/openbox/blobdiff - render/render.h
add function to give the minimum size of an appearance to fully render it's data
[chaz/openbox] / render / render.h
index d5f5f8bc37a7f38c4f323484df1b47e5854372b7..1a41b219bcb77333a50c652221976b61f05e1bd5 100644 (file)
@@ -91,7 +91,7 @@ typedef struct TextureText {
     ObFont *font;
     Justify justify;
     int shadow;
-    unsigned char tint;
+    char tint;
     unsigned char offset;
     color_rgb *color;
     char *string;
@@ -100,6 +100,7 @@ typedef struct TextureText {
 typedef struct {
     Pixmap mask;
     guint w, h;
+    char *data;
 } pixmap_mask;
 
 typedef struct TextureMask {
@@ -152,6 +153,9 @@ Appearance *appearance_new(SurfaceType type, int numtex);
 Appearance *appearance_copy(Appearance *a);
 void appearance_free(Appearance *a);
 void truecolor_startup(void);
+void pseudocolor_startup(void);
 void pixel32_to_pixmap(pixel32 *in, Pixmap out, int x, int y, int w, int h);
 
+void appearance_minsize(Appearance *l, Size *s);
+
 #endif /*__render_h*/
This page took 0.02538 seconds and 4 git commands to generate.