]> Dogcows Code - chaz/openbox/commitdiff
add a struct for pixmap masks
authorDana Jansens <danakj@orodu.net>
Mon, 17 Mar 2003 00:37:23 +0000 (00:37 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 17 Mar 2003 00:37:23 +0000 (00:37 +0000)
render/mask.c [new file with mode: 0644]
render/mask.h [new file with mode: 0644]
render/render.h

diff --git a/render/mask.c b/render/mask.c
new file mode 100644 (file)
index 0000000..7aa7029
--- /dev/null
@@ -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 (file)
index 0000000..2eed4c0
--- /dev/null
@@ -0,0 +1,9 @@
+#ifndef __mask_h
+#define __mask_h
+
+typedef struct {
+  Pixmap mask;
+  guint w, h;
+} pixmap_mask;
+
+#endif
index 01795e7e4121c4899d8217ef486ffd12f67d10b3..2a45451ccf07f8b5698b3ef69c2a4a9db3ad9439 100644 (file)
@@ -6,6 +6,7 @@
 #include <X11/Xft/Xft.h>
 #include <glib.h>
 #include "color.h"
+#include "mask.h"
 
 #ifdef HAVE_STDINT_H
 #  include <stdint.h>
@@ -112,6 +113,7 @@ typedef struct TextureText {
 
 typedef struct TextureMask {
     color_rgb *color;
+    pixmap_mask *mask;
 } TextureMask;
 
 typedef struct TextureRGBA {
This page took 0.028243 seconds and 4 git commands to generate.