summaryrefslogtreecommitdiff
path: root/render/mask.h
diff options
context:
space:
mode:
authorDerek Foreman <manmower@gmail.com>2003-03-26 02:19:38 +0000
committerDerek Foreman <manmower@gmail.com>2003-03-26 02:19:38 +0000
commit2880e674eaa66b2d5639157e4506b404e2b183ad (patch)
treec806d3ac1c7eeed6fc1687e28021f93613fcf4c1 /render/mask.h
parent4840f7e837d5f74f8c20d600c90936e954afa8a0 (diff)
add a Rect to the textures for positioning them
Diffstat (limited to 'render/mask.h')
-rw-r--r--render/mask.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/render/mask.h b/render/mask.h
index 4d2144e2..323e82e3 100644
--- a/render/mask.h
+++ b/render/mask.h
@@ -2,9 +2,10 @@
#define __mask_h
#include "render.h"
+#include "../kernel/geom.h"
pixmap_mask *pixmap_mask_new(int w, int h, char *data);
void pixmap_mask_free(pixmap_mask *m);
-void mask_draw(Pixmap p, TextureMask *m, int width, int height);
+void mask_draw(Pixmap p, TextureMask *m, Rect *position);
#endif