summaryrefslogtreecommitdiff
path: root/render/mask.h
diff options
context:
space:
mode:
authorDerek Foreman <manmower@gmail.com>2003-03-17 00:53:28 +0000
committerDerek Foreman <manmower@gmail.com>2003-03-17 00:53:28 +0000
commit57314ce52246ce74ff2c64c7fc2da8794a8aaa4e (patch)
tree72b65b03f4d4b69dfd858bb4510e4564d5e200ae /render/mask.h
parentb824e6ad8e359bfd2762a5e35d62e1a1f4c9f20c (diff)
move pixmap_mask typedef
add stub for draw_mask
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