diff src/glyphs-x.h @ 269:b2472a1930f2 r20-5b33

Import from CVS: tag r20-5b33
author cvs
date Mon, 13 Aug 2007 10:27:19 +0200
parents 6b37e6ddd302
children bbff43aa5eb7
line wrap: on
line diff
--- a/src/glyphs-x.h	Mon Aug 13 10:26:31 2007 +0200
+++ b/src/glyphs-x.h	Mon Aug 13 10:27:19 2007 +0200
@@ -46,6 +46,7 @@
   /* If depth>0, then that means that other colors were allocated when
      this pixmap was loaded.  These are they; we need to free them when
      finalizing the image instance. */
+  Colormap colormap;
   unsigned long *pixels;
   int npixels;
 
@@ -58,6 +59,7 @@
 #define IMAGE_INSTANCE_X_PIXMAP(i) (X_IMAGE_INSTANCE_DATA (i)->pixmap)
 #define IMAGE_INSTANCE_X_MASK(i) (X_IMAGE_INSTANCE_DATA (i)->mask)
 #define IMAGE_INSTANCE_X_CURSOR(i) (X_IMAGE_INSTANCE_DATA (i)->cursor)
+#define IMAGE_INSTANCE_X_COLORMAP(i) (X_IMAGE_INSTANCE_DATA (i)->colormap)
 #define IMAGE_INSTANCE_X_PIXELS(i) (X_IMAGE_INSTANCE_DATA (i)->pixels)
 #define IMAGE_INSTANCE_X_NPIXELS(i) (X_IMAGE_INSTANCE_DATA (i)->npixels)