summaryrefslogtreecommitdiff
path: root/render/mask.h
diff options
context:
space:
mode:
Diffstat (limited to 'render/mask.h')
-rw-r--r--render/mask.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/render/mask.h b/render/mask.h
index 103b33d0..796155f1 100644
--- a/render/mask.h
+++ b/render/mask.h
@@ -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