X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=render%2Fmask.h;h=89716f852f205ff6d03e847ef471053a8b6488e1;hb=fa741bc010435e1be6c2739257e01243191e1deb;hp=796155f13b879b69e38a8343788453a1ddef5528;hpb=57314ce52246ce74ff2c64c7fc2da8794a8aaa4e;p=chaz%2Fopenbox diff --git a/render/mask.h b/render/mask.h index 796155f1..89716f85 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_mask *p, TextureMask *m); +void mask_draw(Pixmap p, TextureMask *m, Rect *position); #endif