add a struct for pixmap masks

This commit is contained in:
Dana Jansens 2003-03-17 00:37:23 +00:00
parent cce970813f
commit 1f63f7b331
3 changed files with 14 additions and 0 deletions

3
render/mask.c Normal file
View file

@ -0,0 +1,3 @@
#include "mask.h"
/* DO YOUR MAGIC MANNY WOOT \m/ */

9
render/mask.h Normal file
View file

@ -0,0 +1,9 @@
#ifndef __mask_h
#define __mask_h
typedef struct {
Pixmap mask;
guint w, h;
} pixmap_mask;
#endif

View 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 {