2003-03-17 00:37:23 +00:00
|
|
|
#ifndef __mask_h
|
|
|
|
#define __mask_h
|
|
|
|
|
2003-03-17 00:38:15 +00:00
|
|
|
#include <X11/Xlib.h>
|
2003-03-17 00:38:29 +00:00
|
|
|
#include <glib.h>
|
2003-03-17 00:53:28 +00:00
|
|
|
#include "render.h"
|
2003-03-17 00:37:23 +00:00
|
|
|
|
2003-03-17 00:49:05 +00:00
|
|
|
pixmap_mask *pixmap_mask_new(int w, int h, char *data);
|
|
|
|
void pixmap_mask_free(pixmap_mask *m);
|
2003-03-17 00:53:28 +00:00
|
|
|
void mask_draw(pixmap_mask *p, TextureMask *m);
|
2003-03-17 00:49:05 +00:00
|
|
|
|
2003-03-17 00:37:23 +00:00
|
|
|
#endif
|