From: Dana Jansens Date: Mon, 17 Mar 2003 00:37:23 +0000 (+0000) Subject: add a struct for pixmap masks X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=1f63f7b331887a192ddf927670471c3f00f307f5;p=chaz%2Fopenbox add a struct for pixmap masks --- diff --git a/render/mask.c b/render/mask.c new file mode 100644 index 00000000..7aa70295 --- /dev/null +++ b/render/mask.c @@ -0,0 +1,3 @@ +#include "mask.h" + +/* DO YOUR MAGIC MANNY WOOT \m/ */ diff --git a/render/mask.h b/render/mask.h new file mode 100644 index 00000000..2eed4c07 --- /dev/null +++ b/render/mask.h @@ -0,0 +1,9 @@ +#ifndef __mask_h +#define __mask_h + +typedef struct { + Pixmap mask; + guint w, h; +} pixmap_mask; + +#endif diff --git a/render/render.h b/render/render.h index 01795e7e..2a45451c 100644 --- a/render/render.h +++ b/render/render.h @@ -6,6 +6,7 @@ #include #include #include "color.h" +#include "mask.h" #ifdef HAVE_STDINT_H # include @@ -112,6 +113,7 @@ typedef struct TextureText { typedef struct TextureMask { color_rgb *color; + pixmap_mask *mask; } TextureMask; typedef struct TextureRGBA {