]> Dogcows Code - chaz/openbox/blobdiff - render/mask.h
change the menu plugin interface, no need for the create/destroy functions any more.
[chaz/openbox] / render / mask.h
index 90a622b3fe39353292680e4230e5e3f19391f190..dccb5a460e73968cdafe59f903f57cecbbd4d77f 100644 (file)
@@ -1,11 +1,13 @@
 #ifndef __mask_h
 #define __mask_h
 
-#include <X11/Xlib.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.020065 seconds and 4 git commands to generate.