]> 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 103b33d0d2374052c668e03d680569b73b6561b3..dccb5a460e73968cdafe59f903f57cecbbd4d77f 100644 (file)
@@ -1,15 +1,13 @@
 #ifndef __mask_h
 #define __mask_h
 
-#include <X11/Xlib.h>
-#include <glib.h>
-
-typedef struct {
-  Pixmap mask;
-  guint w, h;
-} pixmap_mask;
-
-pixmap_mask *pixmap_mask_new(int w, int h, char *data);
-void pixmap_mask_free(pixmap_mask *m);
+#include "render.h"
+#include "geom.h"
+
+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.023713 seconds and 4 git commands to generate.