]> Dogcows Code - chaz/openbox/blobdiff - render/mask.h
mor fabulous focus fixings.
[chaz/openbox] / render / mask.h
index 2eed4c0763272d4eaaff7976e19f56d37b7c099c..323e82e32a7779fd9c2067d21a7db6370a20f34e 100644 (file)
@@ -1,9 +1,11 @@
 #ifndef __mask_h
 #define __mask_h
 
-typedef struct {
-  Pixmap mask;
-  guint w, h;
-} pixmap_mask;
+#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, Rect *position);
 
 #endif
This page took 0.01978 seconds and 4 git commands to generate.