diff src/glyphs.h @ 265:8efd647ea9ca r20-5b31

Import from CVS: tag r20-5b31
author cvs
date Mon, 13 Aug 2007 10:25:37 +0200
parents b405438285a2
children b2472a1930f2
line wrap: on
line diff
--- a/src/glyphs.h	Mon Aug 13 10:24:47 2007 +0200
+++ b/src/glyphs.h	Mon Aug 13 10:25:37 2007 +0200
@@ -342,6 +342,8 @@
       Lisp_Object fg, bg; /* foreground and background colors,
 			     if this is a colorized mono-pixmap
 			     or a pointer */
+      Lisp_Object auxdata;    /* list or Qnil: any additional data
+				 to be seen from lisp */
     } pixmap; /* used for pointers as well */
     struct
     {
@@ -371,6 +373,7 @@
 #define IMAGE_INSTANCE_PIXMAP_HOTSPOT_Y(i) ((i)->u.pixmap.hotspot_y)
 #define IMAGE_INSTANCE_PIXMAP_FG(i) ((i)->u.pixmap.fg)
 #define IMAGE_INSTANCE_PIXMAP_BG(i) ((i)->u.pixmap.bg)
+#define IMAGE_INSTANCE_PIXMAP_AUXDATA(i) ((i)->u.pixmap.auxdata)
 
 #define XIMAGE_INSTANCE_DEVICE(i) \
   IMAGE_INSTANCE_DEVICE (XIMAGE_INSTANCE (i))