]> Dogcows Code - chaz/openbox/blobdiff - render/mask.h
prefixing for the dock. use ObDirection instead of dupliacting it in another enum...
[chaz/openbox] / render / mask.h
index 2d507a63a70957c47581efcf9478ae97c8029f9e..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"
 
-typedef struct {
-  Pixmap mask;
-  guint w, h;
-} pixmap_mask;
+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.022785 seconds and 4 git commands to generate.