From d9030ba8a5bb8396415c76acfef8764191549fe3 Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Thu, 27 Jan 2005 23:00:12 +0000 Subject: Add support for ARGB clients. (Old svn revision: 12312) --- src/mypixmap.h | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'src/mypixmap.h') 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 */ -- cgit v1.2.1