X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=render%2Frender.h;h=1a41b219bcb77333a50c652221976b61f05e1bd5;hb=e6cc69ca04f6b275f56e1e0feef731518e0709a3;hp=d5f5f8bc37a7f38c4f323484df1b47e5854372b7;hpb=3d6b970a4b25627e00fb4a4de6706fe067d58186;p=chaz%2Fopenbox diff --git a/render/render.h b/render/render.h index d5f5f8bc..1a41b219 100644 --- a/render/render.h +++ b/render/render.h @@ -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*/