X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Fmask.h;h=9328daf154997269549221597e7abbb767c8cce1;hb=b9ecd5bf25256ba3aadaddd8491afc0cb85891dc;hp=43b5dacdbb9e08f9d4b8393d9024b80aab36b7d8;hpb=f1db2721541af239f6af053526abd4cf80b750e0;p=chaz%2Fopenbox diff --git a/render/mask.h b/render/mask.h index 43b5dacd..9328daf1 100644 --- a/render/mask.h +++ b/render/mask.h @@ -1,12 +1,12 @@ #ifndef __mask_h #define __mask_h -#include -#include #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