move pixmap_mask typedef

add stub for draw_mask
This commit is contained in:
Derek Foreman 2003-03-17 00:53:28 +00:00
parent b824e6ad8e
commit 57314ce522
3 changed files with 10 additions and 8 deletions

View file

@ -16,5 +16,6 @@ void pixmap_mask_free(pixmap_mask *m)
g_free(m);
}
/* DO YOUR MAGIC MANNY WOOT \m/ */
void mask_draw(pixmap_mask *p, TextureMask *m)
{
}

View file

@ -3,13 +3,10 @@
#include <X11/Xlib.h>
#include <glib.h>
typedef struct {
Pixmap mask;
guint w, h;
} pixmap_mask;
#include "render.h"
pixmap_mask *pixmap_mask_new(int w, int h, char *data);
void pixmap_mask_free(pixmap_mask *m);
void mask_draw(pixmap_mask *p, TextureMask *m);
#endif

View file

@ -6,7 +6,6 @@
#include <X11/Xft/Xft.h>
#include <glib.h>
#include "color.h"
#include "mask.h"
#ifdef HAVE_STDINT_H
# include <stdint.h>
@ -111,6 +110,11 @@ typedef struct TextureText {
char *string;
} TextureText;
typedef struct {
Pixmap mask;
guint w, h;
} pixmap_mask;
typedef struct TextureMask {
color_rgb *color;
pixmap_mask *mask;