X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Fmask.h;h=9328daf154997269549221597e7abbb767c8cce1;hb=37169289844646c60985f9a77c0bb8935ac98515;hp=4d2144e2117b446b3ca3d87a640ca55fb2b629a6;hpb=26a3563ac697549cfe0131c5c2970c455f978607;p=chaz%2Fopenbox diff --git a/render/mask.h b/render/mask.h index 4d2144e2..9328daf1 100644 --- a/render/mask.h +++ b/render/mask.h @@ -2,9 +2,11 @@ #define __mask_h #include "render.h" +#include "kernel/geom.h" pixmap_mask *pixmap_mask_new(int w, int h, char *data); +pixmap_mask *pixmap_mask_copy(pixmap_mask *src); 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