summaryrefslogtreecommitdiff
path: root/src/mypixmap.h
diff options
context:
space:
mode:
authorOlivier Fourdan <fourdan.olivier@wanadoo.fr>2004-06-15 22:09:49 +0000
committerOlivier Fourdan <fourdan.olivier@wanadoo.fr>2004-06-15 22:09:49 +0000
commit53b575b3ad260b675fc621135b888fb11910d0c2 (patch)
treecd0ef7f3bd428fc7a36f5b6f00a83dcfbcfeaaa8 /src/mypixmap.h
parent1b32fc5bfcb05b9ac8d98fe5cedb7a727b8e3024 (diff)
downloadxfwm4-53b575b3ad260b675fc621135b888fb11910d0c2.tar.gz
Add multiscreen support.
(Old svn revision: 11786)
Diffstat (limited to 'src/mypixmap.h')
-rw-r--r--src/mypixmap.h31
1 files changed, 19 insertions, 12 deletions
diff --git a/src/mypixmap.h b/src/mypixmap.h
index 779a053fa..cbd748e83 100644
--- a/src/mypixmap.h
+++ b/src/mypixmap.h
@@ -18,9 +18,6 @@
*/
-#ifndef INC_MYPIXMAP_H
-#define INC_MYPIXMAP_H
-
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
@@ -29,18 +26,28 @@
#include <glib.h>
#include "screen.h"
-typedef struct
+#ifndef INC_MYPIXMAP_H
+#define INC_MYPIXMAP_H
+
+struct _XfwmPixmap
{
- ScreenData *md;
+ ScreenInfo *screen_info;
Pixmap pixmap, mask;
gint width, height;
-}
-MyPixmap;
+};
-gboolean myPixmapLoad (ScreenData *, MyPixmap *, gchar *, gchar *,
- XpmColorSymbol *, gint);
-void myPixmapCreate (ScreenData *, MyPixmap *, gint, gint);
-void myPixmapInit (MyPixmap *);
-void myPixmapFree (MyPixmap *);
+gboolean xfwmPixmapLoad (ScreenInfo *,
+ XfwmPixmap *,
+ gchar *,
+ gchar *,
+ XpmColorSymbol *,
+ gint);
+void xfwmPixmapCreate (ScreenInfo *,
+ XfwmPixmap *,
+ gint,
+ gint);
+void xfwmPixmapInit (ScreenInfo *,
+ XfwmPixmap *);
+void xfwmPixmapFree (XfwmPixmap *);
#endif /* INC_MYPIXMAP_H */