X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Fmask.h;h=323e82e32a7779fd9c2067d21a7db6370a20f34e;hb=2dc875f5241b703cf4d1526a2c38c42946ce7ff9;hp=796155f13b879b69e38a8343788453a1ddef5528;hpb=57314ce52246ce74ff2c64c7fc2da8794a8aaa4e;p=chaz%2Fopenbox diff --git a/render/mask.h b/render/mask.h index 796155f1..323e82e3 100644 --- a/render/mask.h +++ b/render/mask.h @@ -1,12 +1,11 @@ #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); void pixmap_mask_free(pixmap_mask *m); -void mask_draw(pixmap_mask *p, TextureMask *m); +void mask_draw(Pixmap p, TextureMask *m, Rect *position); #endif