]> Dogcows Code - chaz/openbox/blobdiff - render/mask.h
add more options for focus fallback, use an enum for all the types of fallbacks.
[chaz/openbox] / render / mask.h
index 2d507a63a70957c47581efcf9478ae97c8029f9e..89716f852f205ff6d03e847ef471053a8b6488e1 100644 (file)
@@ -1,12 +1,12 @@
 #ifndef __mask_h
 #define __mask_h
 
-#include <X11/Xlib.h>
-#include <glib.h>
+#include "render.h"
+#include "../kernel/geom.h"
 
-typedef struct {
-  Pixmap mask;
-  guint w, h;
-} pixmap_mask;
+pixmap_mask *pixmap_mask_new(int w, int h, char *data);
+pixmap_mask *pixmap_mask_copy(pixmap_mask *src);
+void pixmap_mask_free(pixmap_mask *m);
+void mask_draw(Pixmap p, TextureMask *m, Rect *position);
 
 #endif
This page took 0.023627 seconds and 4 git commands to generate.