summaryrefslogtreecommitdiff
path: root/render/render.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-05-18 23:06:11 +0000
committerDana Jansens <danakj@orodu.net>2003-05-18 23:06:11 +0000
commita18c1697b1176c26e74267f2ac7a153a2cf2c442 (patch)
tree04d62a0bd4d4f15fe2bbf05e8809755c552753ac /render/render.h
parentf41d06f583b0461446aeac93551a2e0931d50ac0 (diff)
make icons use pixel32 data, and image_draw takes pixel32 data.
client.c gets pixmap icons as a backup to netwm ones, and they are converted into pixel32 data.
Diffstat (limited to 'render/render.h')
-rw-r--r--render/render.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/render/render.h b/render/render.h
index 3fbf3249..68fec468 100644
--- a/render/render.h
+++ b/render/render.h
@@ -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*/