summaryrefslogtreecommitdiff
path: root/src/mypixmap.h
diff options
context:
space:
mode:
authorOlivier Fourdan <fourdan.olivier@wanadoo.fr>2005-01-27 23:00:12 +0000
committerOlivier Fourdan <fourdan.olivier@wanadoo.fr>2005-01-27 23:00:12 +0000
commitd9030ba8a5bb8396415c76acfef8764191549fe3 (patch)
treecfae7bf33891b059ad3ab49477edfb26e6ade1b6 /src/mypixmap.h
parent94a93632d4fd7ef8e5beed1764ad01f75fcc64bc (diff)
downloadxfwm4-d9030ba8a5bb8396415c76acfef8764191549fe3.tar.gz
Add support for ARGB clients.
(Old svn revision: 12312)
Diffstat (limited to 'src/mypixmap.h')
-rw-r--r--src/mypixmap.h24
1 files changed, 16 insertions, 8 deletions
diff --git a/src/mypixmap.h b/src/mypixmap.h
index c20d5d8be..22acda2f7 100644
--- a/src/mypixmap.h
+++ b/src/mypixmap.h
@@ -30,25 +30,33 @@
#ifndef INC_MYPIXMAP_H
#define INC_MYPIXMAP_H
-struct _XfwmPixmap
+#define MYPIXMAP_XPIXMAP(p) (p.pixmap)
+
+struct _xfwmPixmap
{
ScreenInfo *screen_info;
Pixmap pixmap, mask;
gint width, height;
};
-gboolean xfwmPixmapLoad (ScreenInfo *,
- XfwmPixmap *,
+gboolean xfwmPixmapLoad (ScreenInfo *,
+ xfwmPixmap *,
gchar *,
gchar *,
XpmColorSymbol *,
gint);
-void xfwmPixmapCreate (ScreenInfo *,
- XfwmPixmap *,
+void xfwmPixmapCreate (ScreenInfo *,
+ xfwmPixmap *,
+ gint,
+ gint);
+void xfwmPixmapInit (ScreenInfo *,
+ xfwmPixmap *);
+void xfwmPixmapFree (xfwmPixmap *);
+void xfwmPixmapFill (xfwmPixmap *,
+ xfwmPixmap *,
+ gint,
+ gint,
gint,
gint);
-void xfwmPixmapInit (ScreenInfo *,
- XfwmPixmap *);
-void xfwmPixmapFree (XfwmPixmap *);
#endif /* INC_MYPIXMAP_H */