]> Dogcows Code - chaz/openbox/blobdiff - render/mask.h
revert my commit of d3th, it fucked up focus badly
[chaz/openbox] / render / mask.h
index 43b5dacdbb9e08f9d4b8393d9024b80aab36b7d8..dccb5a460e73968cdafe59f903f57cecbbd4d77f 100644 (file)
@@ -1,12 +1,13 @@
 #ifndef __mask_h
 #define __mask_h
 
-#include <X11/Xlib.h>
-#include <glib.h>
 #include "render.h"
+#include "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, int width, int height);
+RrPixmapMask *RrPixmapMaskNew(const RrInstance *inst,
+                              gint w, gint h, const gchar *data);
+void RrPixmapMaskFree(RrPixmapMask *m);
+RrPixmapMask *RrPixmapMaskCopy(const RrPixmapMask *src);
+void RrPixmapMaskDraw(Pixmap p, const RrTextureMask *m, const RrRect *area);
 
 #endif
This page took 0.020196 seconds and 4 git commands to generate.