]> Dogcows Code - chaz/openbox/blobdiff - render/render.h
make icons use pixel32 data, and image_draw takes pixel32 data.
[chaz/openbox] / render / render.h
index 3fbf324958df65d20cbf6ccdfba5883f7ce3dbb8..68fec4681ab1c9a06f437894d9844b1354432dea 100644 (file)
@@ -112,11 +112,11 @@ typedef struct TextureMask {
 typedef struct TextureRGBA {
     guint width;
     guint height;
-    unsigned long *data;
+    pixel32 *data;
 /* cached scaled so we don't have to scale often */
     guint cwidth;
     guint cheight;
-    unsigned long *cache;
+    pixel32 *cache;
 } TextureRGBA;
 
 typedef union {
@@ -159,7 +159,7 @@ void pixel32_to_pixmap(pixel32 *in, Pixmap out, int x, int y, int w, int h);
 
 void appearance_minsize(Appearance *l, int *w, int *h);
 
-void render_pixmap_to_rgba(Pixmap pmap, Pixmap mask,
-                           int *w, int *h, gulong **data);
+gboolean render_pixmap_to_rgba(Pixmap pmap, Pixmap mask,
+                               int *w, int *h, pixel32 **data);
 
 #endif /*__render_h*/
This page took 0.022894 seconds and 4 git commands to generate.